Scientific Calculator
Type a whole expression and get an exact answer: brackets, powers, roots, logs, trigonometry in degrees or radians, and the order of operations applied properly.
Scientific Calculator: with the default inputs, result is 1,028.
Brackets, + − * / ^, and functions like sqrt, log, ln, sin, abs, round.
Applies to sin, cos, tan and their inverses.
- Full precision
- 1028Every digit JavaScript can represent.
- Scientific notation
- 1.028000e+3
Assumptions
- Double-precision arithmetic, exact for integers up to 2^53 and very slightly approximate elsewhere.
- Trigonometric constants are radians regardless of the angle unit selected.
How this is worked out
The formula
Standard order of operations, innermost brackets first: brackets → functions and powers → × ÷ → + − Powers group right to left, so 2^3^2 is 2^(3^2) = 512, not (2^3)^2 = 64.
Open How it’s calculated above to see this worked through with your own numbers.
What you enter
- Expression
- Brackets, + − * / ^, and functions like sqrt, log, ln, sin, abs, round.up to 200 characters · defaults to "2^10 + sqrt(16)"
- Angle unit
- Applies to sin, cos, tan and their inverses.Radians · Degrees
What you get back
- Resultmain answer
- Full precision
- Every digit JavaScript can represent.
- Scientific notation
What this assumes
- Double-precision arithmetic, exact for integers up to 2^53 and very slightly approximate elsewhere.
- Trigonometric constants are radians regardless of the angle unit selected.
About this calculator
Type the whole calculation and read the answer, rather than pressing one key at a time and hoping the machine remembered where the brackets went. The expression is parsed properly, so precedence, nesting and function arguments all behave the way they do on paper.
What you can write
Arithmetic with + − * /, powers with ^, and brackets to any depth. Functions include sqrt, cbrt, abs, round, floor, ceil, exp, log (natural, or log(x, base) for any base), log10, log2, the trigonometric family and their inverses, hypot, gcd, lcm, mod, and factorials with a trailing !. Constants pi, e, phi and tau are built in. Percent is not an operator here: write 0.15 * 240 rather than 15% of 240, or use the percentage calculator.
Degrees and radians
Trigonometry defaults to radians, which is what the mathematics assumes. Switch to degrees and sin(90) becomes 1. One thing to watch: constants stay in radians either way, so in degree mode pi/2 is about 1.57 degrees, not a right angle. The calculator warns when you mix the two.
Where floating point shows through
Results are double-precision, the same arithmetic every spreadsheet and browser uses. That is exact for integers up to about 9 quadrillion, and very slightly approximate elsewhere: 0.1 + 0.2 lands a fraction above 0.3, and sin(pi) gives about 1.2 × 10⁻¹⁶ rather than a clean zero. Those are not bugs in the arithmetic, they are the price of binary fractions, and the calculator flags a result that is suspiciously close to zero rather than quietly rounding it away.
Frequently asked questions
▸Does it follow the order of operations?
Yes. Brackets first, then functions and powers, then multiplication and division, then addition and subtraction. Powers group right to left, so 2^3^2 is 512.
▸How do I use degrees instead of radians?
Switch the angle unit. Then sin(90) is 1. Constants such as pi remain in radians, so pi/2 in degree mode is about 1.57 degrees rather than a right angle.
▸Why is sin(pi) not exactly zero?
Because pi cannot be represented exactly in binary, so the argument is a hair away from pi and the sine of it is about 1.2 × 10⁻¹⁶. Every double-precision calculator does this.
▸Can I use percentages?
Not as an operator. Write 0.15 * 240 for 15% of 240, or use the percentage calculator, which also handles increases, decreases and reverse questions.
▸How do I write a logarithm to a particular base?
log(x, base). So log(1024, 2) is 10. Plain log(x) is the natural logarithm, and log10 and log2 are available directly.
Put this calculator on your own site
A working scientific, free for any site, with no ads and no sign-up. It resizes to fit wherever you paste it and updates itself as this page improves.
Paste this anywhere. It works on any site, carries no ads, never expires, and always shows the current version.
Scientific Calculator by CalculateItNow
The page's own title. The clearest description of what the link leads to.
The credit line sits outside the widget on purpose, so it is a real link on your page rather than one buried in a frame. Please keep it — it is what pays for CalculateItNow staying free and ad-free. The script only resizes the widget to fit its contents; drop it and the widget still works.
Browse every calculator widget·How to add it to WordPress, Squarespace or Wix
Related calculators
The questions people ask next to a scientific.
Find what percent one number is of another, take a percentage of a number, or calculate percentage increase and decrease — with the working shown.
Raise any base to any power — negative, fractional or huge — with the expanded multiplication, scientific notation and the rule that applies shown.
Square roots, cube roots and nth roots with the radical simplified (√72 = 6√2) via prime factorization, plus the number squared and cubed.
Logarithm of any number to base 10, e, 2 or any base you choose — with the change-of-base step, an antilog check, and ln, log₁₀ and log₂ side by side.
n! computed exactly with big integers up to 1000, in scientific notation beyond, plus the digit count, trailing zeros and the gamma function for non-integers.
Convert any number to scientific, engineering and E notation with chosen significant figures, or expand a × 10ⁿ back to a plain decimal — exactly, no float noise.