Some 41 shots will be fired at UK venues at a rate of one shot per minute from noon.
During this time, the flags will fly at half mast across the country.
Prince Philip dies – Reaction live from UK and around the world
The Duke had strong military ties, including serving with the Royal Navy during the Second World War.
In a statement posted on the royal website, it was said: “The tradition of gunshots fired across the country to mark important national events dates back to at least the 18th century, and there is a historical record of greetings that have occurred as early as the 14th century, when firearms and ammunition began to be adopted more widely.
“Similar shots were fired to mark the death of Queen Victoria in 1901.”
Defense Secretary Ben Wallace said: “His Royal Highness Prince Philip, The Duke of Edinburgh was a steadfast supporter and ambassador of the armed forces.
“We celebrate her life of service and offer our condolences to Her Majesty The Queen and the Royal family. «
Chief of the Defense Staff General Sir Nick Carter said: “His Royal Highness has been a great friend, inspiration and role model for the armed forces and he will be sorely missed.
“The Duke of Edinburgh served with us in World War II and has remained dedicated to the Royal Navy and the armed forces as a whole.
“A life well lived, His Royal Highness leaves us a legacy of indomitable spirit, steadfastness and an unwavering sense of duty. On behalf of all who serve today and who have served, thank you. “
People are encouraged to watch the greetings, which will be shown both online and on television.
In London, the King’s Troop Royal Horse Artillery will fire on Napier Lines, Woolwich Barracks, south-east of the capital.
Six 13-pounder WWI field guns will be used – these same guns were also fired for the The duke’s marriage to the queen and at his coronation in 1953.
A salute to the Tower of London will be given by the Honorable Artillery Company.
Cardiff Castle, Hillsborough Castle, Belfast and Edinburgh Castle are some of the other places where guns will be fired.
HMS Diamond, HMS Montrose and HMNB Portsmouth will also salute, while the Royal Gibraltar Regiment will fire from British Overseas Territory.
Due to the pandemic, mass gatherings usually take place after the death of a senior royal are discouraged by the palate and the government.
A virtual condolence book is available on the Royal Family’s website.
Plans for the funeral and what will happen next should become clearer over the weekend and early next week.
Despite the discouragement of the authorities, people gathered to lay flowers and pay homage outside Buckingham Palace and Windsor Castle on Friday.
Prince Philip passed away peacefully in his sleep Friday morning at Windsor Castle, a few months before his 100th birthday.
His children paid tribute to him as rock in the Queen and the lives of their family during a BBC tribute on Friday night.
The Princess Royal said she would best remember her father as “always there,” someone to help with a problem or bounce off ideas.
She added: “I will remember him better as always being there and someone you could brainstorm ideas with, but if you had any problems you could always go see him and know that he would listen and try to you.” help. “
The Prince of Wales said: ‘Well you know he didn’t suffer fools with pleasure, so if you said something that was in any way ambiguous he would say’ make up your mind ‘.
“So maybe that prompted you to choose your words carefully.
“He was very good at showing you how to do things and teaching you various things. ”