Queen Elizabeth’s funeral cost the British government £161.7million
The total cost to the Scottish Government is estimated at £18.8million, according to the Treasury.
This includes the cost of the monarch’s resting place in Edinburgh after the death of the monarch at Balmoral Castle in Aberdeenshire.
Scots were able to pay their respects at the capital’s St Giles Cathedral before their coffin was transported to Westminster Hall.
READ MORE: In pictures: King Charles III. leads mourners at St Giles’ Cathedral thanksgiving service for the Queen
The Treasury released the figures on Thursday, which also showed that the Home Office spent £74million on the events, while the Department for Culture, Media and Sport spent £57million.
Other costs include £2.9m from the Ministry of Defence, £2.6m from the Department for Transport, £2.2m from the Welsh Government and £2.1m from both the Foreign, Commonwealth and Development Office and the Northern Ireland Office .
The Treasury said the costs include “full reimbursements” to the Scottish and Welsh Governments and the Northern Ireland Office, “which they in turn were able to reimburse to partners who also incurred costs”.