To view measurements directly from, say, your new iPhone 18, you'll need an app that explicitly supports the built-in pressure sensor rather than pulling from outside data. App descriptions should lay out all of their sources, so you can easily verify if it's using the built-in barometer or third-party data.
Barometer & Altimeter & Thermo is a solid option, and it says right there in the description box that it uses the iPhone's built-in barometer. It also uses GPS and weather station information for calibration. It's a free app to download, but like most free apps, you'll have to watch a few commercials and build up a little pressure in your skull while awaiting the results. The listing as of November 2026 requires iOS 13 or later, so as long as you're not rocking an iPhone 5 from the dinosaur era, you should be fine.
Another option is My Altitude, which also lists that it uses on-device sensors by default when available. Despite misspelling "see" level in its description, it carries a 4.8 overall rating from 27,000 ratings. The free version includes adverts, because of course it does, with in-app purchases to remove them.
Whichever app you go with, take note of the pressure reading before and after walking up a flight of stairs. Then return to the same spot and check weather-related barometric pressure readings so you can compare the two. Just a fun little comparison task to run. Just don't confuse pressure changes caused by storms or rapidly clearing skies with changes in your current elevation.

GTA 6 has weird purple streetlights because actual Florida screwed up its streetlights
Warhammer Survivors update buffs XP and weapons, nerfs those damn Beasts of Nurgle
Can you play GTA 6 from an external hard drive on PS5 or Xbox Series X/S?
7 gadgets that'll instantly upgrade your Thanksgiving feast
Capcom's quirky dinosaur-fighting hero shooter is shutting down in 2027
Trump admin didn't investigate Jensen Huang before pushing Nvidia to bring him back: 'What does that mean, had Huang been investigated? For what?'
GTA 6 vault: How to open them during big bank jobs
Deceased BBC football commentator resurrected with AI for EA Sports FC: The family says it's a 'touching tribute' but some fans call it 'gross' and 'bleak'
State AGs are trying to stop Character.AI from auctioning off users' chat histories