Scientific Calculator
Full scientific calculator with trig, logs, exponents, factorials, and constants like π and e. Parse expressions as you type.
Type expressions directly or tap buttons. Press Enter to evaluate. Supports +, −, ×, ÷, ^, !, functions (sin, cos, tan, log, sqrt, etc.), and constants π (pi), e.
How to use the scientific calculator
Type a math expression in the input or tap the buttons to insert operations. Press Enter or the = button to evaluate. The calculator parses the full expression with proper order of operations, so 2 + 3 * 4 ^ 2 correctly gives 50 (4² first, then ×3, then +2).
Angle mode: radians vs degrees
Use the RAD/DEG toggle at the top to switch how trig functions interpret their inputs. In RAD mode, sin(pi / 2) is 1 (π/2 radians = 90°). In DEG mode, sin(90) is 1. Inverse trig functions (asin, acos, atan) return values in the matching unit — DEG mode returns degrees, RAD mode returns radians.
Common operations
Exponents: 2^10 = 1024. Roots: sqrt(144) = 12, or 27^(1/3) for cube root. Factorials: 6! = 720. Logarithms: log10(1000) = 3, log(value, base) for any base, log(e) is the natural log base e.
Trigonometry cheat sheet
sin(0) = 0, sin(90°) = 1, cos(0) = 1, cos(90°) = 0, tan(45°) = 1. Hyperbolic versions (sinh, cosh, tanh) are also available. For inverse trig, pass a ratio and get back the angle: asin(1) = 90° in DEG mode.
Parentheses and precedence
Standard precedence applies: parentheses, exponents, multiplication and division (same level, left-to-right), then addition and subtraction (same level, left-to-right). When in doubt, add parentheses — they cost nothing and make intent explicit. Nesting is fine: sqrt((3+4)^2 + (5-1)^2).
Numerical limits and precision
All math is in 64-bit floating point (roughly 15-17 significant digits of precision). For extremely small or large numbers, results display in scientific notation (e.g., 1.234e+15). If you need arbitrary-precision arithmetic or complex numbers, use specialized software like WolframAlpha, SageMath, or Python with SymPy.
Frequently asked questions
What's the difference between RAD and DEG mode?▾
Trig functions take angles in different units. RAD (radians) is the mathematical default — sin(π/2) = 1. DEG (degrees) is what most people learn in school — sin(90°) = 1. Physics and advanced math typically use radians; engineering and everyday geometry often use degrees. Pick whichever matches the units in your problem.
What functions are supported?▾
Basic arithmetic (+, −, ×, ÷), exponents (^), factorial (!), square root, trigonometry (sin, cos, tan and their inverses asin, acos, atan), hyperbolic (sinh, cosh, tanh), logarithms (ln, log10, log for custom bases), absolute value, rounding, and modulo. Plus constants π (pi) and e.
How do I compute log base 2?▾
Use the two-argument form: log(value, base). For example, log(8, 2) returns 3. The ln button writes log(, which is the natural log (base e). The log₁₀ button writes log10(, which is base 10.
Does this follow order of operations?▾
Yes — unlike the simple calculator, this parses the full expression with standard PEMDAS / BODMAS precedence. 2 + 3 × 4 = 14. Use parentheses to override: (2 + 3) × 4 = 20.
Can I compute the square root of a negative number?▾
Not in this calculator — it restricts to real-number results. sqrt(-1) shows an error. For complex-number math, you'd need a more specialized calculator or math software like WolframAlpha.
What's the maximum number size?▾
Standard 64-bit floating point: up to around 1.8 × 10^308. Large results display in scientific notation. Factorial of 170 is about 7.3 × 10^306; 171! overflows to Infinity and shows 'Error'.
Related calculators
Simple Calculator
Fast, free online calculator for everyday math — add, subtract, multiply, divide, percentages, and square roots. Keyboard friendly.
Compound Interest Calculator
See how compound interest grows your money over time. Compare daily, monthly, quarterly, and annual compounding with regular contributions.
APR to APY Converter
Convert between APR and APY at any compounding frequency. See the true effective yield of a savings account or the true cost of a loan.