Antilog Calculator
Compute the antilog b^x for any base above 1, and print its inverse logarithm beside the natural and base-2 antilogs as a cross-check.
Antilog Calculator
Compute the antilog b^x for any base above 1, and print its inverse logarithm beside the natural and base-2 antilogs as a cross-check.
How this page computes
b^x is evaluated with the platform's power function, then log base b of the result is taken by dividing the natural log of the result by the natural log of the base.
The relative difference between that recovered exponent and the one typed is printed, so the round trip is measured rather than assumed. A result outside the double range is refused before printing.
The calculation runs entirely in this browser tab; nothing is uploaded.
An antilog undoes a logarithm: antilog base 10 of 2.5 is 10 to the 2.5, which is 316.227766. The page prints that value and then takes log base 10 of it, which returns 2.5 — the inverse is the check, not a separate claim.
The natural antilog and base 2 are printed beside it, because which base a bare "log" meant is the most common confusion in the topic. A base of 1 is refused, since 1 to any power is 1 and the inverse does not exist.
How to use Antilog Calculator
Type the logarithm value and the base, then press Run. A value of 0 with any base gives 1, and a negative value gives a result below 1, both of which the page prints without special-casing.
The output gives the antilog in your base, its inverse log, the natural antilog, the base-2 antilog, and a relative-error figure for the round trip.
Why the inverse pins the answer down
b^x is defined for any positive base other than 1 and any real x. Taking log base b of the result returns x, so the round trip is an identity rather than an approximation, and any error in the printed value shows up in the check line.
The value is a double, so a result beyond about 10^308 overflows. The page refuses that case with a suggestion to use a smaller exponent, because printing infinity as an answer would hide the overflow.
What to Expect
Best for
- Undoing a logarithm on a calculator with no antilog key
- Converting between base 10, base e and base 2
- Checking a pH or decibel calculation that used logs
Not ideal for
- Complex logarithms, where the inverse is multi-valued
- A base of 1 or below, which is refused
- A result past the double range, which is refused rather than printed as infinity
What this tool keeps
- The logarithm value and the base exactly as typed
What may need cleanup
- Nothing: the value is the inverse of the log you gave
Common errors
- A base of 1 is refused with the reason
- A base of zero or below is refused
- An overflowing result is refused rather than printed as infinity
Example use cases
- Antilog base 10 of 2.5
- Antilog base e of 2.5
- Antilog base 2 of 2.5
Sample input
log value 2.5, base 10
Sample output
316.227766, and log base 10 of that is 2.5
Who this is for
- Students undoing a log
- Readers checking a decibel or pH step
Frequently asked questions
What is an antilog?
The inverse of a logarithm: if log base b of y is x, then the antilog base b of x is y, which is b to the power x. The page computes that power and then takes the log back to show the round trip.
Why is base 1 refused?
Because 1 to any power is 1, so the logarithm to base 1 is undefined and there is nothing to invert. A base must be positive and not equal to 1.
Is the answer exact?
It is a double, so it is exact to about fifteen significant figures and printed to six decimals. Where an exact integer is wanted, such as 10 to the 3, the printed value is 1000 with no decimals.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.