Home / Math Calculators / Scientific Calculator

Math & Statistics

Scientific Calculator

A full online scientific calculator with trigonometry, logarithms, exponents, roots, factorials, and constants. Type an expression or use the keypad, in degrees or radians.

Angle mode: trig uses degrees

Result

0

Expression—
Angle modeDegrees

How it works

Type any expression into the display or tap it out on the keypad, then press =. The calculator parses your input with a proper grammar, so it respects the standard order of operations and lets you nest parentheses and functions freely.

Order of operations (PEMDAS)

1. Parentheses ( )
2. Exponents ^ and roots
3. Multiplication × and division ÷
4. Addition + and subtraction −

Worked example

The expression 3 × sin(30) + √(16) in degree mode evaluates like this:

StepValue
sin(30°)0.5
3 × 0.51.5
√164
1.5 + 45.5

Supported functions

Example calculations

ExpressionResultNote
sin(30)0.5in degree mode
cos(π/3)0.5in radian mode
log(1000)3base-10 logarithm
ln(e²)2natural logarithm
2^101,024
√21.414214
6 + 4 × 214multiplication before addition
(6 + 4) × 220parentheses first

The most common mistake with trig functions is the angle mode: sin(30) is 0.5 in degrees but −0.988 in radians. Check the mode before you start. Also note that −2^2 is −4, because the exponent applies before the minus sign; write (−2)^2 to get 4.

Real problems you can solve with it

A scientific calculator earns its place on problems that a basic calculator cannot do in one line. Here are a few worked examples, with the exact expression to type.

Roof pitch and ramp angles (trigonometry)

A roof described as "6 in 12" rises 6 inches for every 12 inches of run. Its angle is atan(6/12). In degree mode, atan(6/12) gives 26.57°. An accessibility ramp at the common 1:12 slope is atan(1/12) = 4.76°. Going the other way, the height reached by a 20 ft ladder leaning at 75° is 20 × sin(75) = 19.3 ft. The triangle calculator solves every side and angle at once if you need more than one value.

Growth and doubling time (powers and logarithms)

$1,000 growing at 5% a year for 10 years becomes 1000 × 1.05^10 = $1,628.89. To find how long money takes to double at 7%, use logarithms: ln(2) / ln(1.07) = 10.24 years. That is the exact version of the "rule of 72" shortcut, which estimates 72 ÷ 7 = 10.3. For full savings and loan projections, the compound interest calculator is quicker.

Radioactive decay and half-lives (the constant e)

Carbon-14 has a half-life of about 5,730 years. The fraction remaining after t years is exp(−ln(2) × t / 5730). After 1,000 years that is about 0.886, or 88.6% of the original. The same formula, with a different half-life, describes how medicines leave the body or how a capacitor discharges.

Counting combinations (factorials)

The number of different 5-card poker hands from a 52-card deck is 52! ÷ (5! × 47!). Typing 52!/(5!×47!) gives 2,598,960. Factorials grow extremely fast, so expect very large results to be shown in scientific notation.

Distance between two points (powers and roots)

On a grid, the distance from (1, 2) to (4, 6) is sqrt((4−1)^2 + (6−2)^2) = 5. This is the Pythagorean theorem, and the same expression gives the diagonal of a rectangle, such as the size of a TV screen from its width and height.

Reading long and very small answers

Results too large or too small for the display are shown in scientific notation, a number between 1 and 10 multiplied by a power of ten. Avogadro's number, 602,214,076,000,000,000,000,000, is written 6.022 × 1023, and the mass of an electron, 0.000…911 kg with 30 zeros after the decimal point, is 9.11 × 10−31 kg. To multiply numbers in this form, multiply the leading parts and add the exponents; to divide, divide the leading parts and subtract the exponents.

You may occasionally see answers such as 0.30000000000000004 instead of 0.3 in some software. That is a side effect of how computers store decimals in binary, not a maths error. The result is correct to many decimal places; round it to the precision your problem needs.

Logarithms in any base

The keypad has log (base 10) and ln (base e). For any other base, use the change-of-base rule: logb(x) = ln(x) ÷ ln(b). For example, log2(64) is ln(64)/ln(2) = 6, which is how many times you can halve 64 to reach 1. Base 2 is used for bits and binary data. 1 TB is about 240 bytes, so ln(10^12)/ln(2) ≈ 39.9.

How the % key behaves

Here, % simply divides by 100, so 250 × 15% gives 37.5 (15% of 250). To add a percentage, write it out in full: a 15% increase on 250 is 250 × (1 + 15%) = 287.5. Some handheld calculators treat % differently after + or −, so for percentage change problems the percentage calculator is clearer.

Habits that prevent wrong answers

Frequently asked questions

How do I switch between degrees and radians?

Use the DEG / RAD toggle above the keypad. In degree mode, trig functions treat input as degrees; in radian mode, as radians. Inverse functions return their result in the same unit.

What functions are supported?

Sin, cos, tan and inverses, ln and log, square root, exponents, factorial, percent, absolute value, exp, and the constants π and e, plus the usual operators and parentheses.

Does order of operations apply?

Yes, parentheses, then exponents, then × and ÷, then + and −, left to right.

Why does sin(30) not give 0.5?

The calculator is in radian mode. Switch to degrees, or enter 30 × π/180.

What is the difference between log and ln?

log is the base-10 logarithm (log 100 = 2); ln is the natural logarithm with base e (ln e = 1).

Related calculators