Calculation methods and data storage
ATLAS provides everyday, finance, health and math tools. This document describes the implemented formulas and the limits of their results.
Content updated:
Formulas and assumptions
Everyday
- Discount calculator
- Final price = original × (1 − discount/100) × (1 − additional discount/100) × (1 + tax/100)
Discounts are sequential: 20% then 10% gives 28% off. Tax is a simple addition to the discounted price; local tax rules are not inferred.
- Split a bill
- Per person = bill × (1 + tip ÷ 100) ÷ people
Rounded up to the smallest currency unit. The last person can adjust for the rounding difference.
- Date difference
- Difference = end − start; offset = reference ± N days; weekdays = Mon–Fri in the selected range
Endpoint inclusion applies to weekday mode. Holidays are not excluded. Approximate months use 30.4375 days, not calendar months.
Finance
- Loan payment
- Amortized payment = P × r ÷ (1 − (1 + r)⁻ⁿ)
r is the monthly rate; n is the number of months. Fixed rate, end-of-month payments. Excludes fees, taxes and insurance.
- Savings
- Monthly simple interest = deposit × annual rate/1200 × n(n+1)/2; net value = principal + interest × (1 − tax/100)
Monthly deposits occur at month start; lump-sum deposits occur once. 15.4% is an illustrative Korean interest-tax setting reviewed 2026-10-05, not a universal rate. Default excludes tax; enter the applicable rate. Bank day-count and tax rounding may differ.
KB국민은행 · 예금 이자 과세 계산 안내 - Compound interest
- Principal growth = P(1+r/m)^(mt); contribution growth = C((1+j)^N−1)/j; j = (1+r/m)^(m/k)−1
r is decimal annual return, m compounds/year, k contributions/year, N=kt. Contributions occur at period end; if j=0, contribution growth is C×N. Excludes taxes, fees and inflation; no return guarantee.
Health
- BMI
- BMI = weight (kg) ÷ height (m)²
CDC adult (20+) reference: below 18.5 underweight; 18.5–<25 healthy weight; 25–<30 overweight; 30+ obesity range. These are not Korean diagnostic criteria. BMI does not fully assess muscle or health and is not suitable for pregnancy or children.
CDC · BMI - Basal metabolic rate
- Mifflin–St Jeor: 10W + 6.25H − 5A + s (male +5, female −161)
W=kg, H=cm, A=age. Estimates adult resting energy expenditure; not for pregnancy, breastfeeding or growing children.
Mifflin et al., 1990 - Daily calorie needs
- Maintenance energy = Mifflin–St Jeor resting energy × activity multiplier
Activity levels are approximate examples and vary with exercise intensity and occupation. ±5%/±10% are comparisons, not diet prescriptions. Actual needs depend on health and body conditions. Adult reference only; not for pregnancy, breastfeeding or children.
Mifflin et al., 1990
Math
- Basic calculator
- Parentheses → powers → unary signs → multiplication/division → addition/subtraction; postfix % divides the preceding value by 100
sin/cos/tan use radians, log is base 10, ln is natural log. Uses a safe parser without JavaScript eval.
- Percentage
- Ratio = A/B×100; change = (B−A)/|A|×100; increase/decrease = A(1±B/100); original = A/(1±B/100)
Zero denominators are undefined. Decrease/discount must be 0–100%; reversing a 100% discount is undefined. Percentage change uses the absolute starting value as denominator.
- Unit converter
- Units in one category use a ratio of base-unit factors. Temperature also requires an offset.
Data: MB=10⁶B, GB=10⁹B, MiB=2²⁰B. Pyeong=400/121 m². Gallons/fluid ounces are US units; cal means thermochemical calorie (4.184 J). Converts units only, not different floor-area definitions.
Rounding and precision
Internal calculations use JavaScript double-precision floating point. Display rounds KRW to whole won, USD to two decimals, BMI to one decimal and kcal to whole numbers; ratios show up to two decimals and measurement units up to three decimals. Multiplying rounded display amounts may differ from internal totals.
Bill splitting rounds upward to the smallest currency unit and displays any surplus. Date differences use UTC calendar days and exclude the start day.
References
- CDC · Body Mass Index
- Mifflin et al. (1990) · Resting energy expenditure
- NIST · SI conversion factors
- Investor.gov · Compound interest
References support definitions and methods. ATLAS is not affiliated with these institutions and does not provide medical diagnosis or investment advice.
Country and language
Korean and English have separate URLs. The entry route uses an estimated country and saved language preference; explicit language URLs remain accessible. Country sets body units and a default currency; currency can be chosen independently. Initialization uses an explicit saved choice, device storage, browser language, then site language. No currency exchange occurs; savings tax is a separate optional setting. Switching country converts body measurements while keeping monetary numbers.
Inputs, saved history and shared links
Calculation happens in the browser. Favorites and the last 20 calculations are stored locally without account synchronization. History can be deleted individually or entirely, and clearing browser data removes it. Language and country preferences are saved in cookies valid for one year.
Shared links encode selected calculator inputs and country after # in the URL. This fragment is not sent in ordinary HTTP requests, but recipients and browser extensions can read it. The share button copies a link; it does not automatically send it to anyone.