Scientific calculator
Evaluate expressions with sin, cos, tan, logs, powers, roots, π, e and factorials. Switch between degrees and radians.
What the result means
A scientific calculator evaluates an arithmetic expression using the usual order of operations, plus functions you would find on a physical scientific calculator: trigonometry, logarithms, powers, roots and factorials.
How it is calculated
sin, cos and tan use θ in the chosen angle mode. ln is logₑ. log is log₁₀. n! = 1×2×…×n
- θ: An angle in degrees or radians, depending on the mode.
- π: The circle constant, approximately 3.141592653589.
- e: Euler's number, approximately 2.718281828459.
The parser tokenises the expression, inserts implied multiplication, then evaluates with operator precedence. Function names require parentheses so sin(30) is unambiguous.
Assumptions
- Trigonometry uses JavaScript Math, which follows IEEE-754 double precision.
- Factorial is defined only for whole numbers from 0 to 170.
- Division by zero, even roots of negatives, and log of non-positive numbers are rejected.
Worked example
sin(30°) plus two to the eighth
A student needs sin(30) + 2^8 with the calculator in degrees.
- Sine
- sin(30°) = 1/2 = 0.5
- Power
- 2^8 = 256
- Sum
- 0.5 + 256 = 256.5
The default example on this page evaluates to 256.5.
Degrees versus radians
Trigonometric functions (sin, cos, tan and their inverses) use the angle mode you select. Degrees are the usual choice for school and surveying work in Australia. Radians are the unit used in most programming and calculus, where a full turn is 2π.
Hyperbolic functions (sinh, cosh, tanh) always use the raw number — they are not angles.
How expressions are read
Multiplication and division happen before addition and subtraction. Powers associate to the right, so 2^3^2 is 2^(3^2) = 512. A number next to a bracket or a constant is multiplication: 2pi and 2(3+4) both work. Percent (%) divides by 100, so 15% is 0.15.
The expression is evaluated in your browser. It is not sent to a server. Share links put the expression in the page URL.
Questions
Why is sin(30) not 0.5?
The calculator is probably in radians. Switch to Degrees. In radians, 30 is a large angle (30 rad ≈ 1719°), not a 30° angle.
Can I type 2π?
Yes. Use pi or the π key. 2pi, 2*pi and 2π are all multiplication. Function names still need brackets: sin(pi/6) in radians.
Is this a graphing calculator?
No. It evaluates one expression at a time. For percentages of amounts, the dedicated percentage calculator is clearer.
Related calculators
- PercentageFind a percentage of a number, reverse a percentage, or calculate percentage increase, decrease and difference.
- LengthConvert millimetres, centimetres, metres, kilometres, inches, feet, yards and miles.
- TemperatureConvert Celsius, Fahrenheit and Kelvin. Weather and cooking in Australia use Celsius.
Sources
NIST
CODATA internationally recommended 2018 values of the fundamental physical constants
Last reviewed 2026-08-19
Bureau International des Poids et Mesures
Last reviewed 2026-08-19
Everyday · Last reviewed 2026-08-19
Estimates only. Not tax, legal or financial advice. Check official sources before relying on a figure.
Printed from OzCalc (ozcalc.com). Last reviewed 2026-08-19. Estimates only — not tax, legal or financial advice.