Logarithm Calculator
Calculate log₁₀, ln, log₂ and custom base logarithms. Includes antilog and log rules.
Source: BBC Bitesize — Maths
By Konstantin Iakovlev · Founder, Calks.uk
Last updated: · Methodology reviewed for 2026
log₁₀(100)
2
ln(100)
4.6051702
log₂(100)
6.6438562
log_10(100)
2
Also: 10^100 = 1.0000e+100 (antilog)
log rules: log(a×b) = log(a)+log(b) · log(a/b) = log(a)-log(b) · log(aⁿ) = n×log(a)
Disclaimer
This calculator is for guidance only. Double-check any result you rely on. Everything is calculated in your browser; nothing you enter is sent to our servers.
How It Works
A logarithm answers one question: to what power must a given base be raised to produce a particular number? Log base 10 of 1000 is 3, because 10^3 = 1000, and in general log_b(x) = y says the same thing as b^y = x. That makes log₁₀(100) equal to 2, since 10² = 100, and log₂(8) equal to 3, since 2³ = 8. Logarithms are exponents read backwards, which is why the two topics are always taught alongside each other.
Three bases account for nearly all practical use. Base 10 gives the common logarithm, and on most UK calculators the button marked 'log' means log₁₀. Base e, where e is roughly 2.718, gives the natural logarithm, written ln. Base 2 turns up throughout computing. This calculator handles all three plus any custom base you enter, converting between them with the change-of-base formula log_b(x) = ln(x) / ln(b). A-Level Maths uses common and natural logs side by side, so moving between the two is a routine skill rather than an advanced one.
The log laws exist because they turn hard operations into easy ones. Multiplication becomes addition, since log(xy) = log(x) + log(y). Division becomes subtraction, since log(x/y) = log(x) − log(y). Powers come down to the front, so log(x^n) = n × log(x). Two identities complete the set: log(1) = 0 in any base, and log_b(b) = 1. The change-of-base rule then lets you compute a logarithm in any base at all from the base 10 or base e buttons you actually have in front of you.
Logarithmic scales appear wherever quantities span enormous ranges. The Richter scale is one, which is why a magnitude 7 earthquake is 10 times larger than a magnitude 6. Decibels are another, where a 10 dB increase means 10 times louder. The pH scale behaves the same way, making pH 5 ten times more acidic than pH 6. Star brightness uses a magnitude scale of the same type, information theory measures choices in bits, where the count is log₂ of the number of possibilities, and computer scientists describe algorithmic complexity in the same terms.
Natural logarithms deserve separate attention, because e, at about 2.71828, arises on its own in anything growing continuously. Its defining property is that the derivative of e^x is e^x, while the derivative of ln x is 1/x, which is why calculus is full of both. Continuous compound interest follows A = Pe^(rt), and the same exponential form describes radioactive decay, population growth and Newton's law of cooling. A-Level Maths gives ln and e a chapter of their own, covering integration, differentiation and exponential growth and decay.
Equations with the unknown in the exponent are the reason to learn any of this. To solve 3^x = 100, take logs of both sides so that x × log(3) = log(100), which gives x = 2/0.477, or 4.19. Equations with logs on both sides work in reverse: log(x) + log(x − 3) = 1 combines to log(x(x − 3)) = 1, so x(x − 3) = 10 and x² − 3x − 10 = 0, giving x = 5 once you reject x = −2, since you cannot take the log of a negative number. Finance uses the same move, because ln(future/present) ÷ ln(1+r) returns the number of years an investment needs to grow. GCSE covers the basic cases and A-Level takes in the rest.
Example: Calculating log₁₀(500)
- log₁₀(500) = 2.6990
- This means 10^2.6990 ≈ 500
- ln(500) = 6.2146 (natural log)
- log₂(500) = 8.9658 (log base 2)
Source: BBC Bitesize — Maths
Frequently Asked Questions
- What is a logarithm actually telling me?
- To what power the base must be raised to reach a given number. That is why log base 10 of 1000 is 3, because 10^3 is 1000, and why log₂(8) is 3. Common logs (base 10), natural logs (base e, written ln) and custom bases are all covered, and the same relationship read the other way is simply exponentiation.
- What is the difference between log and ln on a calculator?
- The 'log' button on most UK calculators means log₁₀, the common logarithm, while 'ln' means the natural logarithm, which has base e, roughly 2.718. Both appear throughout A-Level Maths. The change-of-base formula log_b(x) = ln(x) / ln(b) lets you reach any other base from either button, and that is how custom bases are handled here.
- How do I solve an equation such as 3^x = 100?
- Take logs of both sides. That turns the exponent into a multiplier, so x × log(3) = log(100), and dividing gives x = 2/0.477, which is 4.19. Natural logs would produce the same answer. Finance uses the identical move to work out time horizons, since ln(future/present) ÷ ln(1+r) returns the number of years a sum needs in order to grow to a target.
- Why are the Richter and decibel scales logarithmic?
- Because the quantities involved span enormous ranges, and a logarithmic scale compresses them into readable numbers. Each step stands for a multiple rather than an addition, so a magnitude 7 earthquake is 10 times larger than a magnitude 6, a 10 dB rise means 10 times louder, and pH 5 is ten times more acidic than pH 6. Star brightness and information theory, where bits equal log₂ of the possibilities, work on the same principle.