The calculated distance (air line) between Santa Maria and Ribeira Grande is approximately 148 miles respectively 239 kilometers.
By car or train, the actual journey to Ribeira Grande is certainly longer, as only the direct route (as the crow flies) between Santa Maria and Ribeira Grande has been calculated here.
Air line (approximately)
239 kilometers
129 nautical miles