The calculated distance (air line) between Musselburgh and Belfast is approximately 146 miles respectively 236 kilometers.
By car or train, the actual journey to Belfast is certainly longer, as only the direct route (as the crow flies) between Musselburgh and Belfast has been calculated here.
Air line (approximately)
236 kilometers
127 nautical miles