Scientific Calculator

Trigonometry, logarithms, exponents, and more.

0

A scientific calculator in your browser

This calculator handles everything a standard scientific model does - trigonometry, logarithms, exponents, roots, factorials and the common constants - without needing to be installed or bought. It runs entirely in your browser, so nothing you type is sent anywhere.

Key takeaways

  • Supports trigonometry, logarithms, powers, roots, factorials and constants.
  • Operator precedence follows the standard order of operations.
  • Trigonometric functions use degrees by default; switch to radians with the RAD button.
  • log means base 10 and ln means base e; mixing them is a common error.
  • Keyboard input works for digits and the basic operators.

Functions available

FunctionNotationWhat it doesExample
Square root√xThe number that squares to x√16 = 4
Powerx^yx raised to the power y2^10 = 1,024
Squarex^y with y = 2x multiplied by itself7^2 = 49
SinesinTrigonometric sinesin 30° = 0.5
CosinecosTrigonometric cosinecos 60° = 0.5
TangenttanTrigonometric tangenttan 45° = 1
Inverse sine, cosine, tangentsin⁻¹, cos⁻¹, tan⁻¹The angle with that sine, cosine or tangentsin⁻¹ 0.5 = 30°
Common loglogLogarithm base 10log 1000 = 3
Natural loglnLogarithm base eln e = 1
Factorialn!Product of all integers up to n5! = 120
RemaindermodWhat is left after whole-number division10 mod 3 = 1
PiπCircle constant≈ 3.14159265
Euler's numbereBase of natural logarithms≈ 2.71828183

Order of operations

Expressions are evaluated in the standard order, often remembered as BODMAS or PEMDAS:

  1. Brackets - innermost first
  2. Orders - exponents and roots
  3. Division and multiplication - left to right
  4. Addition and subtraction - left to right

So 2 + 3 × 4 is 14, not 20, because multiplication is evaluated before addition. Use brackets whenever you want a different order: (2 + 3) × 4 = 20.

When in doubt, add brackets. They cost nothing and remove all ambiguity. This matters most with negative numbers and exponents: on paper -3² is -9, because the exponent binds tighter than the minus sign, whereas (-3)² is 9. This calculator does not guess: typing -3^2 shows Error, so enter -(3^2) for -9 or (-3)^2 for 9.

Degrees and radians

Trigonometric functions can interpret an angle in either degrees or radians, and getting this wrong produces answers that are silently and completely wrong. This calculator starts in degrees; the DEG and RAD buttons above the display switch the mode for sin, cos, tan and their inverses, which then return degrees or radians to match.

DegreesRadianssincostan
0°0010
30°π/60.50.8660.577
45°π/40.7070.7071
60°π/30.8660.51.732
90°π/210undefined (shows Error)
180°π0-10

Values rounded to 3 decimals. To convert: radians = degrees × π / 180. Degrees = radians × 180 / π.

Check the angle mode first. sin(30) is 0.5 in degree mode but -0.988 in radian mode. Both are valid answers to different questions, and nothing warns you that you asked the wrong one. The highlighted DEG or RAD button shows the current mode; verify with a known value such as sin 30° = 0.5 before trusting a result.

Logarithms in practice

A logarithm answers "what power do I need?" - log₁₀(1000) = 3 because 10³ = 1,000.

  • log means base 10, standard for scientific notation, decibels and pH.
  • ln means base e ≈ 2.71828, which appears throughout growth and decay problems.
  • Any base can be computed with the change-of-base rule: logb(x) = ln(x) ÷ ln(b).

The useful property is that logarithms turn multiplication into addition: log(a × b) = log(a) + log(b). Before electronic calculators this was how large multiplications were done, using printed log tables and slide rules.

Useful identities

IdentityMeaning
sin²θ + cos²θ = 1The fundamental Pythagorean identity
tan θ = sin θ / cos θDefinition of tangent
a^m × a^n = a^(m+n)Multiplying powers adds exponents
(a^m)^n = a^(m×n)A power of a power multiplies exponents
a^0 = 1Anything to the power zero is one
a^(-n) = 1 / a^nA negative exponent means a reciprocal
√a = a^(1/2)Roots are fractional powers
e^(ln x) = xExponential and natural log are inverses

Things that produce an error

  • Division by zero is undefined and shows Error.
  • The square root of a negative number has no real value - it requires complex numbers.
  • The logarithm of zero or a negative number is undefined in the real numbers.
  • tan 90° is undefined, because cosine is zero there.
  • Factorials of non-integers or negatives are not defined by the standard factorial function.
  • Very large factorials exceed the range of floating-point arithmetic - 170! is the largest this calculator can show; 171! overflows.
  • A minus sign directly before a power, as in -3^2, is ambiguous and shows Error; add brackets.
Floating-point arithmetic is not exact. Computers store numbers in binary, and some decimal fractions have no exact binary representation. This is why 0.1 + 0.2 can display as 0.30000000000000004 in some environments. The error is around 1 part in 10¹⁶ and never matters in practical use, but it is worth knowing it is a property of the arithmetic rather than a bug. This calculator rounds results to 12 significant digits, so it shows 0.3, and a trigonometric result within a trillionth of zero, such as sin 180°, is shown as 0.

Frequently Asked Questions

Is this scientific calculator free?

Yes, entirely free with no sign-up, no download and no limit on use. It runs in your browser, so the numbers you enter stay on your own device.

What is the difference between log and ln?

log is the logarithm to base 10, so log(1000) = 3. ln is the natural logarithm to base e, approximately 2.71828, so ln(e) = 1. Using one where the other is meant is one of the most common calculator errors.

Why does sin(30) give a different answer than I expect?

Almost certainly because of the angle mode. In degree mode sin(30) is 0.5; in radian mode it is about -0.988. This calculator starts in degrees; check which of DEG and RAD is highlighted before trusting a trigonometric result, and verify with a known value such as sin 30° = 0.5.

How do I convert between degrees and radians?

Multiply degrees by π/180 to get radians, or multiply radians by 180/π to get degrees. So 90 degrees is π/2 radians, approximately 1.5708.

What order does the calculator evaluate operations in?

The standard order: brackets first, then exponents and roots, then multiplication and division left to right, then addition and subtraction left to right. So 2 + 3 × 4 is 14, not 20. Use brackets whenever you want a different order.

What is a factorial?

The product of all positive integers up to a number, written with an exclamation mark. 5! is 5 × 4 × 3 × 2 × 1 = 120. Factorials grow extremely fast and are used mainly in probability and combinatorics.

Why can I not take the square root of a negative number?

Because no real number multiplied by itself gives a negative result. Square roots of negatives exist in the complex numbers, expressed using the imaginary unit i, but a standard scientific calculator works only with real numbers.

Can I use my keyboard instead of the buttons?

Yes. Digits, the decimal point, brackets and + - * / work directly from the keyboard, with Enter for equals and Backspace to delete; % types mod (remainder). Functions such as sin and log use the buttons.

Is there a percent key?

No. The mod key (also % on the keyboard) gives the remainder after division, so 10 mod 3 = 1, as % does in most programming languages. For percentages, such as 15% of 200, use the percentage calculator.

Why does 0.1 + 0.2 not give exactly 0.3?

Because computers store numbers in binary and some decimal fractions cannot be represented exactly. The resulting error is around one part in ten quadrillion and never matters in practice, but it is a property of floating-point arithmetic rather than a fault in the calculator.

Related Calculators