Calculate common (log10), natural (ln), binary (log2) or custom base logarithms with step-by-step formula breakdown.
Logarithm Calculator - Log Base 10, Ln, Log2, Custom Base
Calculate common (log10), natural (ln), binary (log2) or custom base logarithms with step-by-step formula breakdown.
Parameters
Enter data for calculations
💡 Fill in all required fields to unlock the calculate button
How the Logarithm Calculator Works
Enter a number and choose the logarithm type. The calculator computes the result using the change-of-base formula and shows a step-by-step breakdown. Supports common (log10), natural (ln), binary (log2), and any custom base you need.
Logarithm Types - Quick Reference
Four types of logarithms are used in mathematics, science and engineering. Each has a specific base and application domain:
| Type | Notation | Base | Used In |
|---|---|---|---|
| Common | log(x) | 10 | Science, engineering, pH scale, decibels |
| Natural | ln(x) | e (2.71828...) | Calculus, statistics, physics, finance |
| Binary | log2(x) | 2 | Computer science, information theory, data storage |
| Custom base | log_a(x) | any a > 0, a != 1 | Specific math problems, music theory |
Key Logarithm Properties
These identities simplify logarithmic calculations and are essential for algebra and calculus:
| Property | Formula | Example |
|---|---|---|
| Product rule | log(a * b) = log(a) + log(b) | log(20) = log(4) + log(5) = 0.602 + 0.699 = 1.301 |
| Quotient rule | log(a / b) = log(a) - log(b) | log(5) = log(10) - log(2) = 1 - 0.301 = 0.699 |
| Power rule | log(a^n) = n * log(a) | log(1000) = 3 * log(10) = 3 * 1 = 3 |
| Change of base | log_a(x) = log(x) / log(a) | log_5(125) = log(125) / log(5) = 2.097 / 0.699 = 3 |
| Log of 1 | log_a(1) = 0 for any base | log(1) = 0, ln(1) = 0, log2(1) = 0 |
| Log of the base | log_a(a) = 1 | log(10) = 1, ln(e) = 1, log2(2) = 1 |
Practical Examples
Real-World Applications of Logarithms
| Field | Application | Log Type |
|---|---|---|
| Seismology | Richter scale - each whole number is 10x more energy | log10 |
| Sound | Decibels (dB) - 20 dB increase = 10x louder | log10 |
| Chemistry | pH = -log[H+] - measures acidity (pH 3 is 100x more acidic than pH 5) | log10 |
| Finance | Compound interest doubling time: t = ln(2) / ln(1+r) | ln |
| Computer Science | Binary search complexity O(log2 n), bits needed for n values | log2 |
| Information Theory | Shannon entropy H = -sum(p * log2(p)) - measures information content | log2 |
FAQ
Related Tools
GCD & LCM Calculator
Find the Greatest Common Divisor and Least Common Multiple of any numbers - Open calculator
Area Calculator
Calculate the area of squares, rectangles, triangles, circles and more - Open calculator
Powers & Roots Calculator
Calculate powers and nth roots of any number - Open calculator
Percentage Calculator
Find percentages, percentage change and ratios - Open calculator
Standard Deviation Calculator
Calculate standard deviation, variance and mean for a data set - Open calculator
Ready-made calculations
The most searched variants of this calculator. Each link opens it with the value already filled in, ready to calculate.