BedrockCalculator
Figures cited to primary sourcesWritten by Aapt Dubey, MBA (Marketing & Banking), ISB 2 primary sourcesLast updated

Logarithm Calculator (log, ln, log2) and Exponents

The Logarithm Calculator and Exponents finds the logarithm of a number in base 10, e, 2 or any base, or raise a base to a power, including e to the x and 10 to the x, to 15 significant figures.

Quick Answer: The base 10 logarithm of 1,000 is 3, because 10 to the power 3 is 1,000. The natural logarithm of 1,000 is 6.9078 and its base 2 logarithm is 9.9658.

Assumptions

Computed

Preset scenarios

Result
3
In words
log base 10 of 1,000 = 3, because 10^3 = 1,000
log₁₀ x (common log)
3
ln x (natural log)
6.90775527898214
log₂ x (binary log)
9.96578428466209
e to the power x
1.97007111401705 × 10⁴³⁴
10 to the power x
1 × 10¹⁰⁰⁰
2 to the power x
1.07150860718627 × 10³⁰¹

Common, natural and binary logarithms

Download CSV
Each row is this calculator run in logarithm mode on the number in the first column. Values are shown to 15 significant figures; exact powers of a base are exact.
xlog₁₀ xln xlog₂ x
0.001-3-6.90775527898214-9.96578428466209
0.01-2-4.60517018598809-6.64385618977472
0.1-1-2.30258509299405-3.32192809488736
0.5-0.301029995663981-0.693147180559945-1
1000
20.3010299956639810.6931471805599451
30.4771212547196621.098612288668111.58496250072116
40.6020599913279621.386294361119892
50.6989700043360191.60943791243412.32192809488736
80.9030899869919442.079441541679843
1012.302585092994053.32192809488736
161.204119982655922.772588722239784
201.301029995663982.995732273553994.32192809488736
501.698970004336023.912023005428155.64385618977472
641.806179973983894.158883083359676
10024.605170185988096.64385618977472
1,00036.907755278982149.96578428466209
1,0243.010299956639816.9314718055994510
1,000,000613.815510557964319.9315685693242

This table and its CSV are free to reuse with a link to this page, CC BY 4.0.

Logarithm Calculator (log, ln, log2) and Exponents: Result 3 (Calculate: Logarithm: log base b of x; x: 1,000; Base b: 10 (common logarithm)).

Save or share this result

A one-page summary of this calculator's default example, drawn from the same calculation as the result above.

The infographic is free to reuse with a link to this page, CC BY 4.0.

Illustration of a nautilus shell showing its spiral chambers, resting on grey slate
Quick Answer: The base 10 logarithm of 1,000 is 3, because 10 to the power 3 is 1,000. The natural logarithm of 1,000 is 6.9078 and its base 2 logarithm is 9.9658.

What does this calculator do?

This logarithm calculator finds the logarithm of a number in any base (10, e, 2, or one you choose) and does the reverse operation too: the base raised to a power, including e to the x and 10 to the x.

Whichever you ask for, the cards also show the common, natural and binary logarithms of the same number and the three common powers of it.

A logarithm answers the question "what power?". The base 10 logarithm of 1,000 is 3 because 10³ is 1,000. The base 2 logarithm of 1,024 is 10 because ten doublings make 1,024. Logarithms turn multiplication into addition and powers into multiplication, which is why they appear wherever quantities grow or shrink by a constant factor: decibels, the pH scale, earthquake magnitudes, compound growth and the number of bits a value needs.

The NIST Digital Library of Mathematical Functions defines the logarithm in any base as the natural logarithm divided by the natural logarithm of the base, and a general power as e raised to the exponent times the natural log of the base. The calculator works from those definitions to 34 significant digits.

Using the Logarithm Calculator

  1. Choose Logarithm to find log base b of x, or Power to find b to the power x.
  2. Enter x.
  3. Choose the base: 10, e, 2, or another base, which you then type in the box below.
  4. Read the result at the top and the sentence under it. The cards give log₁₀ x, ln x, log₂ x, eˣ, 10ˣ and 2ˣ for the same x.

How is this calculated?

  1. Natural logarithm. ln x is computed by decimal.js for x greater than zero. The logarithm of zero or a negative number is not a real number, and the card says so.
  1. Logarithm in another base. The change of base rule, DLMF 4.2.8, divides the natural logarithm of x by the natural logarithm of the base. The base must be positive and not 1. When x is an exact power of the base, the result is exact: log₁₀ 1000 is 3, not 2.9999999999.

log _bx = ln x/ln b

  1. Powers. b to the power x is computed as e raised to x ln b (DLMF 4.2.28). A negative base with a non-whole exponent has no real value, and 0 to a negative power is undefined; the calculator reports both instead of returning a number.

bˣ = e^(x ln b)

  1. e. The base e is computed as e¹ to 34 digits, 2.718281828459045..., not typed in.
  1. Show the result. Results are rounded half up to 15 significant figures, with thousands separators, and switch to scientific notation at 10¹⁵ and above, so e to the 1,000 appears as 1.97007111401705 × 10⁴³⁴.

Worked Example

Using the defaults, log base 10 of 1,000:

  1. 1,000 = 10 × 10 × 10 = 10³.
  2. So log₁₀ 1000 = 3.
  3. ln 1000 = 6.90775527898214, and log₂ 1000 = 9.96578428466209.
  4. Check the change of base: 6.90775527898214 ÷ ln 10 (2.30258509299405) = 3.

A base the calculator buttons rarely have, from the log₅ 30 preset: ln 30 ÷ ln 5 = 2.11328275255938, and 5 to that power is 30.

What Is the Natural Logarithm?

The natural logarithm, written ln, uses the base e, about 2.71828. It is "natural" because the rate of growth of eˣ is eˣ itself, which makes e the base that falls out of calculus, continuous compounding and radioactive decay. The ln 10 preset gives ln 10 = 2.30258509299405.

Natural and common logarithms differ only by that constant factor: ln x = 2.30258509299405 × log₁₀ x.

How Do You Calculate e to the x or 10 to the Power x?

Switch to power mode and choose base e or 10, or read the eˣ and 10ˣ cards in either mode. The e to the 2 preset gives e² = 7.38905609893065. Powers of 10 are exact: 10 to the power 3 is 1,000, and 10 to the power 2 is 100.

Powers are also how exponential change works. Something that grows 5% per period is multiplied by 1.05 each time, so after 10 periods it has grown by a factor of 1.05¹⁰. The 1.05 to the 10 preset gives 1.62889462677744. A logarithm runs that backwards: the number of periods needed to reach a factor F is log base 1.05 of F.

Common, Natural and Binary Logarithms

The reference table gives all three logarithms for numbers from 0.001 to 1,000,000. Notice the patterns: logarithms of numbers below 1 are negative, the logarithm of 1 is 0 in every base, and log₂ of a power of two (2, 4, 8, 16, 64, 1,024) is a whole number.

What does this calculator not account for?

  • Complex logarithms and powers. The logarithm of a negative number, and a negative number to a fractional power, are complex. Only real results are given. Powers of i, which cycle through i, -1, -i and 1, are outside the real numbers this calculator handles.
  • Logarithm of zero. It has no value; it tends to minus infinity as x approaches 0.
  • Extremely large exponents. Results beyond about 10 to the power 9 quadrillion overflow decimal.js and are reported as not a real number.
  • Precision of the base e. e is irrational; 34 significant digits are carried and 15 shown.

What mistakes do people make with this?

  • Assuming log means the same base everywhere. In most school maths and on calculators log means log₁₀; in many programming languages and higher maths, log means ln. Check which one your source uses.
  • Splitting the log of a sum. log(a + b) is not log a + log b. The rule is for products: log(ab) = log a + log b.
  • Taking the log of zero or a negative number. It is undefined in the real numbers.
  • Reading log₂ as log × 2. The 2 is the base, not a multiplier. "2 log 2" means 2 times log 2.
  • Confusing eˣ with 10ˣ. e² is 7.38905609893065; 10² is 100.

Frequently Asked Questions

What is log 2?

The common logarithm of 2 is 0.301029995663981. The natural logarithm of 2 is 0.693147180559945. The table lists both.

How do I convert ln to log?

Divide by ln 10: log₁₀ x = ln x ÷ 2.30258509299405. Or let the calculator show both cards at once.

What is log base 2 used for?

Counting doublings and bits. log₂ 1024 is 10, so ten bits can count 1,024 different values.

What is the logarithm of 1?

0 in every base, because any base to the power 0 is 1.

How do I find a log in a base my calculator does not have?

Use the change of base rule, ln x ÷ ln b, or pick "Another base" here and type it in.

Is exponential notation the same as exponents?

Not quite. Exponential (scientific) notation writes a number as a value times a power of ten, like 1.97 × 10⁴³⁴. The significant figures calculator converts numbers to that form; this page computes the powers themselves.

Sources

Did this calculator answer your question?

How this calculator is tested

This calculator is checked by 5 automated test cases: specific inputs whose correct result is known in advance, and rules the output must always obey. They run on every change to the site. See the testing and corrections policy.

Show the test cases
  • Default: log10 1000 is exactly 3
  • natural log, binary log and a custom base
  • powers: e^2, 1.05^10, 10^1000 in scientific notation
  • undefined cases
  • builds the reference table from compute()

Add This Website as Preferred Source on Google

See Bedrock Calculator first in your Search results & AI Overviews