altitude without a workout

How one can check current altitude without ongoing workout?