The world's highest mountain Mount Everest is 0.86m higher than had been previously officially calculated, Nepal and China have jointly announced.
Until now the countries differed over whether to add the snow cap on top. The new height is 8,848.86m (29,032 ft).
China's previous official measurement of 8,844.43m had put the mountain nearly four metres lower than Nepal's.
Everest stands on the border between China and Nepal and mountaineers climb it from both sides.
Officials at Nepal's foreign ministry and department of survey said surveyors from both countries had co-ordinated to agree on the new height.
The agreement to jointly announce the new measurement of the Earth's highest point was made during Chinese President Xi Jinping's visit to the Nepalese capital, Kathmandu last year.
Why the difference over official height?
Chinese authorities had said previously Mount Everest should be measured to its rock height, while Nepalese authorities argued the snow on top of the summit should be included.
The Chinese surveyors had calculated their figure after they measured the mountain in 2005.
Nepal's government officials told the BBC in 2012 that they were under pressure from China to accept the Chinese height and therefore they had decided to go for a fresh measurement to "set the record straight once and for all".
The 8,848m height Nepal had been using for Mount Everest was determined by the Survey of India in 1954, but for the first time the country has now conducted its own measurement of the summit.
Four Nepalese land surveyors spent two years training for the mission, before heading to the summit.
"Before this, we had never done the measurement ourselves," Damodar Dhakal, spokesman at Nepal's department of survey, told the BBC.
"Now that we have a young, technical team [who could also go to the Everest summit], we could do it on our own," Mr Dhakal said.
Nepal's lead surveyor Khimlal Gautam lost his toe due to frostbite while on the summit to install height-measuring equipment last year.
"For summiteers, scaling the highest peak means a great accomplishment. For us, it was just the beginning," Mr Gautam had told BBC Nepali after his return.
"Unlike other surveys of the Everest in the past, we chose 03:00 to minimise errors that could have been caused because of sunlight in the day time."
Why else has the height been questioned?
Some geologists have suggested a major earthquake in 2015 may have had an impact on Mount Everest's height. The 7.8 magnitude earthquake killed nearly 9,000 people in Nepal, and caused an avalanche which buried parts of the base camp at the mountain. At least 18 climbers were killed.
Some geologists said the earthquake may have caused Everest's snow cap to shrink.
Scientists had found that some other Himalayan peaks such as Langtang Himal, mostly to the north of Kathmandu and close to the epicentre, had reduced in height by approximately a metre after the earthquake.
Others have argued that Mount Everest, like other Himalayan peaks, may have actually grown over time because of the shifting tectonic plates it sits on. But experts say major earthquakes can result in that process being reversed.
"The 2015 earthquake is also a major reason why we re-measured the mountain," said Mr Dhakal.
How was Mount Everest re-measured?
The heights of mountains are measured with the mean sea level as the base. So it's less about working out the where the top is, than where the bottom would be.
Nepal used the Bay of Bengal as its sea level, but India had already surveyed a point closer to Everest, near the India-Nepal border, from the bay, and was able to provide the Nepalese surveyors with the height at that point.
From there, Nepal built a network of line-of-sight stations stretching nearly 250km (155 miles) to the point Everest first become visible, creating a chain of points it could measure and add together.
The Chinese surveyors, according to the state-run China Daily, used the Yellow Sea in the eastern province of Shandong as their sea-level base.
Surveyors from both sides also used trigonometry formulas to calculate the height of the summit. The formulas they used calculate the height of a triangle by multiplying its base with its angles.
But for all the clever ground work, someone still needs to be on top of the mountain. The Nepalese surveyors went up to the summit last year, while the Chinese surveyors went up in May, becoming the only team to reach the top in 2020, after Nepal suspended all expeditions during the coronavirus pandemic and China banned foreign travellers.
Nepalese officials said they used 12 different lower peaks looking up at the Everest summit for their trigonometry calculations, to achieve a more precise result. Chinese media reported that Chinese surveyors used the same method.
"Once the surveyor's beacon had been placed on the summit, surveyors at stations around the summit measured the distance from the six points to the beacon, which meant at least six triangles could be calculated to determine the mountain's height," Jiang Tao, associate researcher at the Chinese academy of surveying and mapping, told the state-run China Daily.
Both sides also used Global Navigation Satellite Systems to receive elevation data from numerous receivers in their calculations.
China has previously conducted two height measurements of Mount Everest - first in 1975 and then in 2005.
Members of the second survey team installed a Chinese version of a GPS device on the summit, according to the Himalayan Database.
This time the Chinese surveyors used China's BeiDou navigation satellite system, which is believed to be a rival to the US-owned Global Positioning System, or GPS.
"Using the system, snow depth, weather and wind speed would also be measured to help glacier monitoring and for ecological protection," China's state news agency Xinhua reported.
Nepalese surveyors used GPS to make their calculations.
"We processed this data using internationally accepted methodology to determine the height of Mount Everest," Mr Dhakal told the BBC.