Log Calculator
One number, any base, and the three logarithms that come up most often — shown together.
What a logarithm is
A logarithm answers ‘what power do I raise the base to, to get this number’. log₁₀(1000) is 3 because 10³ is 1000. The page computes any base plus the three that come up most: 10, e and 2.
Base 2 appears constantly in computing, base e in growth and decay, base 10 in decibels and pH.
Why the base cannot be 1
Raising 1 to any power gives 1, so log base 1 is undefined — there is no power that turns 1 into 5. The page refuses that input rather than returning infinity.
What this page does not do
The results are double-precision floats, so a logarithm of a very large number loses the last few digits. That is a limit of the machine, not of the formula, and it shows up long after the number stops being useful.
Good to know
Logarithms of numbers between zero and one are negative, which looks wrong to anyone expecting a positive result. That is the definition, not a bug: 10 to the power of minus one is a tenth.
How Log Calculator works
Logarithm of a number in any base, plus base 10, e and 2 at the same time, to six decimals. The method behind Log Calculator is log_b(x) = ln x ÷ ln b, and this page shows the result with its assumptions in the open.
- Enter your numbers; Log Calculator applies log_b(x) = ln x ÷ ln b.
- The Log Calculator working stays visible, so the result can be checked by hand.
- Nothing is submitted by Log Calculator — the calculation is a function call on this page.
A worked example for Log Calculator
log₁₀(1000) = 3; ln(e²) = 2; log₂(1024) = 10. That example is computed with the same implementation Log Calculator uses for your input.
Verify one result by hand with the steps shown — if the printed intermediate values match your own working, the page and your method agree. That check applies directly to Log Calculator with log calculator.
When to use Log Calculator — and when not to
Reasonable uses: Checking homework; Sanity-checking a spreadsheet result; Converting number bases while coding. Log Calculator is deliberately narrow: it does one job and states its assumptions instead of hiding them.
A scientific calculator does one operation at a time; a spreadsheet needs a formula per case. The page is worth it when the same calculation repeats. The honest ceiling for Log Calculator: the formula is log_b(x) = ln x ÷ ln b; other conventions exist and the page names the one it applied.
- Best case for Log Calculator: Checking homework
- Also fine with Log Calculator: Sanity-checking a spreadsheet result
- Not what Log Calculator is for: the formula is log_b(x) = ln x ÷ ln b; other conventions exist and the page names the one it applied.
Reading the Log Calculator result
JavaScript doubles carry about 15–17 significant digits; Log Calculator prints a sensible number of them and names undefined cases instead of faking a value.
Accuracy and limits of Log Calculator
The method is log_b(x) = ln x ÷ ln b. Log Calculator prints results at the precision its inputs justify, and the limits below are the honest ones:
- Log Calculator: The formula is log_b(x) = ln x ÷ ln b; other conventions exist and the page names the one it applied.
- Inputs are treated as exact numbers, and real-world measurements carry noise — Log Calculator states this on every result.
- No account and no upload — Log Calculator runs offline once loaded.
Privacy and speed on the Log Calculator page
The Log Calculator page is a static file plus wave52.js; there is no upload endpoint behind it, so your input cannot be stored or logged. Closing the tab discards the work.
Speed follows the build: Log Calculator loads one stylesheet and one script, with no framework, no web font and no tracker. That is why the tool responds as you type instead of waiting on a round trip.
What you get from Log Calculator
The output of Log Calculator appears on this page and can be copied or downloaded in the format the page offers. Nothing is queued, nothing is emailed, and there is no usage counter — the math work finishes the moment the numbers are in.
Because Log Calculator is built from wave52.js rather than a server call, the practical ceiling is your device: memory for large inputs, and CPU for anything that loops over pixels or pages. On a normal laptop that ceiling sits far above everyday use; on an old phone it arrives sooner, and the page tells you when a job is too big instead of failing silently.
Questions
What does Log Calculator do?
Logarithm of a number in any base, plus base 10, e and 2 at the same time, to six decimals. Everything runs in your browser; nothing is uploaded.
How accurate is Log Calculator?
The method is log_b(x) = ln x ÷ ln b. The formula is log_b(x) = ln x ÷ ln b; other conventions exist and the page names the one it applied.
What are the limits of Log Calculator?
Inputs are treated as exact numbers, and real-world measurements carry noise — Log Calculator states this on every result.
Is anything uploaded when I use Log Calculator?
No. Log Calculator runs entirely in the browser tab; nothing is uploaded, stored or logged.
Can I use Log Calculator offline?
Yes — Log Calculator keeps working offline once the page has loaded; the whole tool is a local script.
Keep going
More math tools
Prime Factorization
Prime factorisation of any number, written as a product of powers, with the division steps listed.
Open toolFraction to Decimal
Turn a fraction into a decimal and say whether it terminates or repeats, with the simplified fraction too.
Open toolDecimal to Fraction
Convert a decimal to a fraction and simplify it, showing the division that produced the result.
Open toolPercent to Fraction
Convert a percentage to a fraction and a decimal, with the reduction shown.
Open toolFraction to Percent
Convert a fraction to a percentage and a decimal, and show the multiplier that did it.
Open toolAlgebra Calculator
Solve ax² + bx + c = 0 with the discriminant and the steps shown, including complex roots.
Open tool