Dundee is closer, it is around 131 miles from Inverness by road while Edinburgh is 159 miles away.
Aberdeen, Edinburgh, Glasgow, Inverness and Dundee, In no Particular order. For the record they are the only cities in Scotland aswell! 6 Cities; Edinburgh Glasgow Dundee Aberdeen Stirling Inverness
In population order the four biggest cities in Scotland are Glasgow, Edinburgh, Aberdeen and Dundee.
Glasgow, Edinburgh, Aberdeen, Dundee, Inverness.
Glasgow, Edinburgh, Aberdeen, Dundee, Inverness.
Inverness, Stirling, Dundee, Aberdeen, Edinburgh and Glasgow.
Glasgow, Dundee, Aberdee, Inverness...
Glasgow, Edinburgh, Aberdeen, Dundee, Stirling and Inverness.
According to AA route planner…. Inverness to Glasgow = 171.1 miles Inverness to Edinburgh = 157.2 miles So to answer your question, Edinburgh is closer to Inverness than Glasgow.
In order of largest - smallest Glasgow, Edinburgh, Aberdeen, Dundee. Inverness and Stirling are next and are roughly the same size.
The largest Scottish cities by population are Glasgow, Edinburgh, Aberdeen, and Dundee. Glasgow is the largest with a population of over 600,000 people, followed by Edinburgh with over 500,000, Aberdeen with around 200,000, and Dundee with around 150,000.
The largest is Glasgow, then Edinburgh, then Aberdeen, then Dundee, then Inverness.
In size order; Glasgow, Edinburgh, Aberdeen, Dundee, Inverness.