Use a GPS device or smartphone app
Check a topographic map
Use an altimeter
Use an online map with elevation data
Read the elevation on a hiking trail sign
Use a barometric pressure formula with a barometer
Measure from sea level on a survey map
Use a drone or aircraft instrument display
