Can I leave the Schengen area from another country other than the one I issued the visa from?

//ads -- adsterra.com -- native banner
?>
I have a Spanish visa type D for 115 days. I will spend the last week of my visa with a friend in Finland. Is it ok to return to my country from Finland directly or do I have to return to Spain first then travel from Spain to my country?
And I know I have the ability to visit the Schengen area with my student visa for 90 days within 180 days. Are the days I spent in Spain are calculated within the 90 days (as Spain is the country where I study and I already spent more than 90 days in it)?
Pictures about "Can I leave the Schengen area from another country other than the one I issued the visa from?"



Can I enter and or exit the Schengen area visa a country other than the one for which I have a visa?
According to the Schengen rules, the Schengen visa is generally valid for all the countries in the Schengen area. Please note, however, that you always have to apply at the consulate of the country which is your primary destination (see FAQ no 5).Can I exit from another Schengen country?
Yes, you can enter or exit from the Schengen area via a country other than the one you have a visa for, your port of entry or exit doesn't depend on the issuing country of your visa.Can I leaving Schengen area and returning?
Once you leave, you cannot return to Spain (or Schengen) without a visa until a further 90 days have gone by. For example, if you have spent 90 days in total in Spain and leave on June 29th, you cannot go back without a visa until at least September 28th.Can you travel freely in Schengen?
Schengen \u2013 ID-free travel zone The Schengen area is a travel zone without borders between the 26 Schengen countries. It allows EU nationals and many non-EU nationals to travel freely without border checks.THE SCHENGEN ZONE TRAVEL EXPLAINED - DIGITAL NOMAD TV
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: ArtHouse Studio, Element5 Digital, Joshua Welch, Karolina Grabowska