Airmass Calculator
Find the airmass at a given altitude.
Result
How it is calculated
The tool uses the plane-parallel approximation X = 1 ÷ sin(h), where h is the altitude of the object above the horizon in degrees (0° at the horizon, 90° at the zenith). This equals the secant of the zenith angle, z = 90° − h. Straight up the result is 1.0000, and it increases as the object gets lower. The altitude must be greater than 0 and not greater than 90, so objects on or below the horizon give no result. The answer is shown with four decimals. The formula treats the atmosphere as flat layers, so near the horizon it overstates the real value and curvature-aware models should be used there.
Worked example
A star is 35° above the horizon. sin 35° = 0.5736, so the airmass is 1 ÷ 0.5736 = 1.7434. Its light travels through about 1.74 times as much air as it would at the zenith. For comparison, at 30° the airmass is exactly 2.0000, and at 60° it is 1.1547. An observer wanting low extinction would wait until the star is higher.
Common mistakes
- Entering the zenith angle instead of the altitude: the field is the angle above the horizon, so a star 20° from the zenith is entered as 70.
- Using the result near the horizon as exact: at 5° the formula gives 11.4737, but the plane-parallel model overstates the value that low, so treat it as a rough figure.
- Typing radians: the altitude is in degrees, so 0.61 (35° in radians) would be read as 0.61° and return no result or a huge airmass.
- Entering a negative altitude for an object below the horizon: the formula only applies to objects above the horizon, so no airmass is returned.
About this calculator
The simple airmass formula X = 1/sin(altitude) — equivalently the secant of the zenith angle — estimates how much atmosphere starlight or sunlight passes through relative to looking straight up (X=1 at the zenith), under the simplifying assumption of a flat, plane-parallel atmosphere. It works well for altitudes above roughly 20°, but overestimates airmass near the horizon (it grows without limit at 0°), where more accurate models like Kasten–Young correct for the Earth's curvature.
Astronomers use airmass to correct photometric measurements for atmospheric extinction — dimming and reddening caused by scattering and absorption — and to schedule observations for when a target is highest (lowest airmass) and least affected by the atmosphere. It's a routine calculation in observatory planning software, amateur astrophotography, and any spectroscopy or photometry pipeline that needs to compare brightness measurements taken at different times of night.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments