https://www.aberdeenshire.gov.uk/med...iontoellon.pdf
https://www.aberdeenshire.gov.uk/med...auchnagatt.pdf
5 and 7 miles respectively according to the route cards ^^^^^
Or, 8 km and 11km respectively to annoy the EU Leave gypes.
Addendum: If you go Meldrum to Pitmedden, the turn-off for Udny Station's only about 2.5 miles beyond Pitmedden on the B999.