Hverdag · verktøy

Vitenskapelig kalkulator

Skriv inn et uttrykk eller bruk funksjonsknappene. Velg grader eller radianer for trigonometri.

Kjøres i nettleseren. Ingen opplasting.

Supports arithmetic, powers, percentages, trigonometry, roots and logarithms.

—

Calculation runs locally in your browser.

Om verktøyet

Vitenskapelig kalkulator sem complicação.

Kalkulatoren støtter grunnleggende aritmetikk, potenser, prosenter, vanlige logaritmer og trigonometriske funksjoner. Den evaluerer en begrenset matematisk grammatikk lokalt i stedet for å kjøre innlimt kode.

Veiledning

Slik bruker du Vitenskapelig kalkulator

The Scientific Calculator evaluates one typed expression at a time. It handles the four operations, powers, percent signs, brackets, square roots, logarithms, exponentials, rounding functions and the trig functions, with a switch between degrees and radians. The constants pi and e are built in, and a missing multiplication sign is filled in for you, so 2(3) and 3pi work. It reads a limited math grammar instead of running code, and it shows the answer to 12 significant digits. It does not save a history or draw graphs.

Slik gjør du

  1. Type an expression in the box, for example sin(30) + sqrt(16). Write a name and brackets for each function.
  2. Tick Use radians if your angles are in radians. Leave it unticked for degrees, which is the default.
  3. Press Calculate or press Enter. The answer appears under the buttons.
  4. Read any error message if the answer shows a dash, fix the expression and try again. Press Clear to start over.

Eksempler

The sample expression in degrees

Du skriver inn
uttrykk
sin(30) + sqrt(16)
radianer
nei
Du får
resultat
4.5

In degrees, sin(30) is 0.5 and the square root of 16 is 4. Their sum is 4.5. The same text in radians gives 3.01196837591.

Kjørt med verktøyets egen kode.

Percent after a plus or minus

Du skriver inn
uttrykk
100 + 10% and 100 - 10% and 200*5% and 50%
radianer
nei
Du får
100 + 10 %
110
100 − 10 %
90
200*5 %
10
50 %
0.5

A plain number followed by % right after + or - is a percentage of the value on its left, so 100 + 10% adds 10 percent of 100. In other places the percent sign just divides by 100: 50% is 0.5 and 200*5% is 10. Enter each expression on its own.

Kjørt med verktøyets egen kode.

Powers and logs

Du skriver inn
uttrykk
2^3^2 and log(1000) and ln(e)
radianer
nei
Du får
2^3^2
512
log(1000)
3
ln(e)
1

Powers group from the right, so 2^3^2 is 2 to the power 9. The log function is base 10 and ln is the natural log. Enter each expression on its own.

Kjørt med verktøyets egen kode.

Trig noise is rounded away

Du skriver inn
uttrykk
sin(180) and cos(90) and 2sin(30)
radianer
nei
Du får
sin(180)
0
cos(90)
0
2sin(30)
1

The exact answers are 0, 0 and 1. A computer's raw sine of 180 degrees is about 1.2 x 10^-16, but sin, cos and tan round such leftovers, so you see clean values. The last line also shows the missing multiplication sign being added.

Kjørt med verktøyets egen kode.

Missing multiplication signs

Du skriver inn
uttrykk
2(3) and (1+2)(3+4) and 3pi
radianer
nei
Du får
2(3)
6
(1+2)(3+4)
21
3pi
9.42477796077

The tool inserts the multiplication sign before a bracket, a function name or a constant, and after a closing bracket. The last answer is cut to 12 significant digits.

Kjørt med verktøyets egen kode.

Tangent of 90 degrees

Du skriver inn
uttrykk
tan(90)
radianer
nei
Du får
melding
The result is not a finite real number.

In degrees, tan(90) and tan(270) have no finite value, so the tool shows an error instead of a huge number. A nearby angle such as tan(89) works and gives 57.2899616308.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Check homework that mixes powers, roots and trig functions.
  • Work out a quick log or exponential value without opening a spreadsheet.
  • Try the same angle in degrees and in radians to see how the setting changes sin, cos or tan.
  • Evaluate a long bracketed formula in one go instead of several separate steps.
  • Add or take off a percentage in one go, such as 80 - 15%, or use percent as a decimal shortcut, for example 200*15%.

Begrensninger

  • Functions are sin, cos, tan, asin, acos, atan, sqrt, log, ln, abs, exp, floor, ceil and round, plus the constants pi and e.
  • A missing multiplication sign is added only before a bracket, a function name or a constant, and after a closing bracket. Two plain numbers in a row, such as 2 3, give an error. There is no factorial, no cube root and no log in other bases.
  • The plus-or-minus percent rule applies only to a plain number followed by %. In 100 + (10%) or 100 + 10%*2 the percent is just divided by 100, so the answers are 100.1 and 100.2.
  • Expressions are at most 240 characters and about 120 parts, with brackets nested up to 40 deep.
  • Results that are not finite real numbers, such as sqrt(-1), 10^400 or tan(90) in degrees, give an error instead of an answer, and so does 1/0.
  • Answers are shown to 12 significant digits. Sin, cos and tan results smaller than 0.000000000001 are shown as 0 on purpose, so a genuinely tiny value is lost.

Tips

  • Check the degrees and radians setting first when a trig result looks wrong.
  • Use brackets whenever you are unsure of the order, such as (2+3)*4.
  • A number like 1e3 is read as 1000, so write 1*e*3 if you mean the constant e.
  • Take a percentage off in one step by putting it after a minus: 250 - 20% gives 200.

Kilder

Vanlige spørsmål

Sobre Vitenskapelig kalkulator.

Can this scientific calculator use degrees and radians?

Yes. Degrees is the default. Tick Use radians to switch. The setting affects sin, cos and tan, and also the inverse functions asin, acos and atan, which then return degrees or radians. Check the setting when a result looks unexpected.

Does the calculator run the code I type?

No. It reads numbers, the operators + - * / ^ and %, brackets, the listed constants and the listed function names. Anything else gives an error. It does not run JavaScript or other code from the box.

How does the percent sign work?

After a plus or minus, a plain number with % means that percent of the value on its left, like on a handheld calculator: 100+10% is 110 and 100-10% is 90. Anywhere else the sign just divides by 100, so 50% is 0.5 and 200*5% is 10.

What is the order of operations?

Brackets first, then powers, then multiplication and division, then addition and subtraction. Powers group from the right, so 2^3^2 is 512. A minus sign in front applies after the power, so -2^2 is -4.

Does sin(180) give exactly 0?

Yes, it shows 0. Computers store numbers in binary, so the raw sine of 180 degrees is about 0.00000000000000012. The tool rounds sin, cos and tan results, so sin(180) and cos(90) show 0 and 2sin(30) shows 1. MDN explains how JavaScript numbers behave.

What is the difference between log and ln?

The log function is the base 10 logarithm, so log(1000) is 3. The ln function is the natural logarithm with base e, so ln(e) is 1. There is no function for other bases in this tool.

How does round work for numbers ending in .5?

It uses the JavaScript rule, which rounds halves toward positive infinity. So round(2.5) is 3 and round(-2.5) is -2. Many school conventions round halves away from zero, so negative values can differ from what you expect.

Can I leave out the multiplication sign?

Often, yes. The tool adds it before a bracket, a function name, pi or e, and after a closing bracket, so 2(3) is 6, (1+2)(3+4) is 21 and 2sin(30) is 1. Two plain numbers such as 2 3 are an error, as are a missing bracket, an unknown function name or a result that is not a real number.

What happens with tan(90)?

It gives an error. In degrees, tan(90) and tan(270) have no finite value, so the tool says the result is not a finite real number instead of showing a huge number. Nearby angles work: tan(89) gives 57.2899616308.

Is it accurate enough for exams or engineering work?

It is meant for quick checks. It uses ordinary double-precision numbers and shows 12 significant digits, so very small or very large results can carry rounding error. Check what your exam allows, and use a method suited to your field for critical work.

Hvordan bruker du Vitenskapelig kalkulator?

Skriv inn et uttrykk eller bruk funksjonsknappene. Velg grader eller radianer for trigonometri.

Lastes dataene mine opp til en server?

Nei. Behandlingen skjer i nettleseren din, og opplysningene dine lastes ikke opp.