Altitude or height is a distance measurement, usually in the vertical or “up” direction, between a reference datum and a point or object. The exact definition and reference datum varies according to the context. It’s the height of an object or point in relation to sea level or ground level.
Watch this video. How To Measure Altitude of your rocket