Evaluation order
- 1. Brackets and named functions
- 2. Factorials, percentages and powers
- 3. Multiplication and division
- 4. Addition and subtraction
Calculate square roots, powers, percentages, logarithms, trigonometry and everyday arithmetic without leaving MedMaths.
General & scientific
Type an expression or use the keypad. Brackets and powers follow standard order of operations.
Enter a value and then select √, sin, log or another one-value function for an immediate result—or type the complete expression yourself. Keyboard: use * for multiply, / for divide, ^ for powers, Enter for equals and Esc to clear.
Try an example
Confirm the formula, units, source values, angle mode and rounding rule before relying on a result. For medication work, use the relevant purpose-built calculator where available and follow local policy and independent-check requirements.
Clinical use and safety
The arithmetic can be correct while the clinical decision is still wrong. These boundaries show what the calculator can and cannot establish.
Formula logic and known-value examples are checked as part of the MedMaths review process.
See how MedMaths checks calculator methods →BSA square-root example
The Mosteller equation is BSA = √((height in cm × weight in kg) ÷ 3600). For 170 cm and 70 kg, enter:
sqrt((170 × 70) ÷ 3600)
The unrounded result is approximately 1.818118…, displayed as 1.82 m² when rounded to two decimal places. A general calculator performs the arithmetic; the dedicated BSA tool also handles measurement inputs, formula choice and working.
Open the BSA calculatorA quick guide to the keys, typed equivalents and example results.
| Key | What it does | Example |
|---|---|---|
| √ or sqrt | Square root | sqrt(144) = 12 |
| x² and xʸ | Square or raise a value to any power | (3 + 2)^2 = 25 |
| sin, cos, tan | Trigonometric functions in the selected angle mode | sin(30) = 0.5 in DEG |
| sin⁻¹, cos⁻¹, tan⁻¹ | Inverse trigonometric functions | asin(0.5) = 30 in DEG |
| log and ln | Base-10 and natural logarithms | log(1000) = 3 |
| π and e | Mathematical constants | 2 × π = 6.283185… |
| % | Divide the preceding value by 100 | 200 × 10% = 20 |
| n! | Factorial for whole numbers from 0 to 170 | 5! = 120 |
| Ans | Reuse the most recent successful answer | Ans ÷ 2 |
The calculator follows a consistent precedence so a complete expression can be entered at once.
Without brackets, 2 + 3 × 4 = 14. With brackets, (2 + 3) × 4 = 20. When entering a formula, use brackets to mirror the printed fraction, numerator, denominator or power.
Questions and answers
Continue calculating
Use the scientific calculator for arithmetic, then switch to the focused tool when you need formula-specific inputs, units and working.
Calculate body surface area from metric or imperial height and weight using four published formulas.
Open calculatorConvert a medicine dose in milligrams to mL using the supplied concentration.
Open calculatorCalculate mg/kg per-dose or per-day orders using kg or lb, divided doses, and liquid concentration.
Open calculatorSolve C1V1=C2V2 for medication stock volume, final total volume, or concentration.
Open calculatorThese references describe the browser number and mathematical functions used by the calculator. Formula choice and clinical application require the relevant subject-specific source.
The language specification for JavaScript Number values and IEEE 754 binary floating-point behaviour.
Practical documentation for binary64 precision, Number.MIN_VALUE and the maximum safe integer boundary.
Reference documentation for square root, powers, logarithms, trigonometric functions and mathematical constants.
Accessibility guidance supporting explicit identification of malformed or unsupported calculator input instead of silently changing it.
Semantic and accessible-name guidance used for the calculator's grouped controls and result feedback.
Subject-specific formula history, published source, worked calculation and limitations for the BSA square-root example.