Scientific Calculator

Scientific Calculator

Type the whole expression the way you would write it on paper — parentheses, powers, square roots, sine and cosine, logarithms, factorials — and get the answer at once. The result shows seven significant digits plus the full-precision value, and the line under it repeats the expression exactly as it was understood.

Use + − × ÷ (or * /), ^ for powers, ( ), % and ! after a number, pi and e, and sin cos tan asin acos atan sinh cosh tanh ln log log2 sqrt cbrt abs exp floor ceil round with parentheses.
Angle unit
Result14
Full precision14
Scientific notation1.400000e+1

2 × (3 + 4) ^ 2 ÷ 7 = 14

Calculated on your device · formulas checked against known results · How we test

How to type an expression

Write the calculation in one line, as you would on paper or in a spreadsheet. Spaces are ignored, and the keyboard symbols * and / work exactly like × and ÷. Use ^ for powers (2^10), parentheses to group, and function names followed by parentheses (sqrt(2), sin(30), log(1000)). A % after a number divides it by 100, and ! after a whole number gives its factorial. The constants pi and e are built in, and a number written directly before a parenthesis or a constant multiplies it, so 2(3+4) is 14 and 2pi is 6.283185.

Scientific notation works on input (6.022e23, 1e-3) and is used for very large or very small results. Every result also appears in full double precision (15 significant digits) so you can paste it into other work.

Order of operations

The calculator follows the standard precedence rules (PEMDAS / BODMAS). Operators higher in the table are applied first; ties are resolved left to right, except for powers, which group from the right.

PriorityOperationExample
1Parentheses and function calls(3 + 4), sin(30)
2Postfix ! and %5! = 120, 10% = 0.1
3Powers ^ (right to left)2^3^2 = 2^9 = 512
4Unary minus-2^2 = −4, (-2)^2 = 4
5Multiplication and division2 × 3 ÷ 4 = 1.5
6Addition and subtraction2 + 3 × 4 = 14

Two rules trip people up: a negative base needs parentheses (-3^2 is −9, because the square is applied before the minus sign), and stacked powers are evaluated from the top down, so 2^3^2 is 2 to the 9th, not 8 squared.

Function reference

FunctionMeaningExample
sin cos tanTrigonometric functions of an angle (degrees or radians, see below)cos(60) = 0.5
asin acos atanInverse trig: the angle whose sine, cosine or tangent is xatan(1) = 45°
sinh cosh tanhHyperbolic functions (no angle unit)cosh(0) = 1
lnNatural logarithm, base eln(e^3) = 3
logCommon logarithm, base 10log(1000) = 3
log2Binary logarithm, base 2log2(1024) = 10
sqrt cbrtSquare root and cube rootcbrt(27) = 3
expe raised to the power xexp(1) = 2.718282
absAbsolute valueabs(-7.5) = 7.5
floor ceil roundRound down, round up, round to the nearest whole numberceil(2.1) = 3
n!Factorial: n × (n − 1) × … × 1, for whole numbers 0 to 1706! = 720

Logarithms of other bases use the change-of-base rule: log base 5 of 125 is ln(125)/ln(5) = 3. A root of any order is a fractional power: the fifth root of 32 is 32^(1/5) = 2.

Worked examples

Degrees or radians?

The angle unit applies to the six trig functions only. In degrees mode sin(30) is 0.5 and atan(1) is 45; in radians mode sin(pi/6) is 0.5 and atan(1) is 0.7853982 (π/4). Schoolwork, surveying and navigation use degrees; calculus, physics and programming languages use radians. To convert, multiply degrees by π/180 (45 × pi/180 = 0.7853982) or radians by 180/π. A full-precision result such as 0.49999999999999994 is ordinary floating-point rounding; the seven-digit result shows the intended 0.5.

Frequently asked questions

Why does -2^2 give −4 instead of 4?

Exponents are applied before a leading minus sign, so −2^2 means −(2²) = −4. To square a negative number, wrap it in parentheses: (−2)^2 = 4. Excel treats −2^2 as 4, so check which convention your other tools use.

How do I enter a percentage?

Type the number followed by %. It is divided by 100 before anything else happens, so 15% × 80 = 0.15 × 80 = 12, and 250 × (1 + 8%) = 270. The percentage calculator shows each percent formula.

How do I calculate a root other than a square root?

Use a fractional exponent. The cube root of 64 is 64^(1/3) = 4 (cbrt(64) also works), and the fourth root of 81 is 81^(1/4) = 3. sqrt of a negative number has no real answer and returns an error.

Why is my sine or cosine result wrong?

Almost always the angle unit. sin(30) is 0.5 in degrees mode but −0.988 in radians mode. Switch the Angle unit above the expression; the note under the result says which unit was used.

What is the largest factorial it can compute?

170! ≈ 7.257 × 10³⁰⁶ is the largest that fits in double-precision arithmetic; 171! overflows and the calculator reports an error. Factorials are only defined for whole numbers here, so 2.5! is also rejected.

Embed this calculator on your website

Free for any website or blog. Paste this code where you want the calculator to appear:

All free calculator widgets

Last updated: October 9, 2026

Menu

Categories

Finance Calculators24 calculatorsBusiness & Shopping Calculators8 calculatorsHealth & Fitness Calculators9 calculatorsMath & School Calculators19 calculatorsDate & Time Calculators12 calculatorsHoliday Countdowns16 calculatorsEveryday Tools16 calculators

CalcWorthy

AboutContactPrivacy PolicyTerms of Use

Language

Language
EnglishEnglishالعربيةArabicবাংলাBanglaDeutschGermanEspañolSpanishفارسیPersianFrançaisFrenchעבריתHebrewहिन्दीHindiBahasa IndonesiaIndonesianItalianoItalian日本語Japanese한국어KoreanBahasa MelayuMalayNederlandsDutchPolskiPolishPortuguêsPortugueseРусскийRussianไทยThaiTürkçeTurkishУкраїнськаUkrainianاردوUrduTiếng ViệtVietnamese简体中文Simplified Chinese