Skip to main content
CalculoraCalculora

Financial & Business

Finance CalculatorsInvestment & PlanningPersonal FinanceReal Estate InvestingBusiness ToolsStartup & SaaS

Math & Technology

Math CalculatorsEngineering ToolsPhysics ToolsDeveloper ToolsSchool Tools

Health & Life

Medical ToolsSmart UtilityRandomizers

Creator & Specialty

Creator EconomyIslamic ToolsSustainabilityGames

Converters

Unit ConverterLength ConverterWeight ConverterTemperature Converter→ Unit Converters

Randomizers

Random Number GeneratorPassword Strength CheckerSpin the WheelCoin Flip SimulatorDice RollerTimezone Overlap Calculator→ Randomizers
File Converter

PDF Tools

Convert PDF to JPGConvert PDF to PNGConvert PDF to TXTConvert PDF to GIFConvert PDF to WebPConvert PDF to SVGConvert PDF to DOCXConvert PDF to XLSXConvert PDF to PPTXConvert PDF to HTMLConvert PDF to MarkdownConvert PDF to TIFF

Image Converter

Convert JPG to PNGConvert PNG to JPGConvert PNG to WebPConvert WebP to PNGConvert WebP to JPGConvert JPG to WebPConvert SVG to PNGConvert SVG to JPGConvert SVG to WebPConvert BMP to PNGConvert BMP to JPGConvert BMP to WebP

Advanced Images

Convert HEIC to JPGConvert HEIC to PNGConvert TIFF to JPGConvert TIFF to PNGConvert JPG to TIFFConvert PNG to TIFFConvert JPG to ICOConvert PNG to ICOConvert JPEG to AVIFConvert PNG to AVIF

GIF & Animation

Convert GIF to PNGConvert GIF to JPGConvert GIF to individual frames (PNG/JPEG)Convert PNG to GIFConvert JPG to GIFConvert GIF to WebP

Editing

Convert any image to watermarked imageConvert any image to cleaned imageResize images instantly in your browserCompress images online — reduce file size, keep quality
Math Speed ChallengeMental Math ChallengeWordleBint WaladSudoku2048
Currency Converter
CalculoraCalculora

Your all-in-one calculator platform. Free, fast, and accurate tools for every need.

Calculator inputs stay 100% private — all math happens in your browser and never touches our serversFree forever — no paywalls, no subscriptions, no accounts needed

Popular

  • BMI Calculator
  • Loan Calculator
  • Age Calculator
  • Mortgage Calculator
  • Percentage Calculator
  • Scientific Calculator

Math

  • Statistics Calculator
  • Equation Solver
  • Fraction Calculator
  • Prime Factorization Calculator
  • GCD & LCM Calculator
  • Logarithm Calculator

Finance

  • FIRE Calculator
  • Debt Snowball Calculator
  • Investment Calculator
  • Retirement Calculator
  • Salary Calculator
  • ROI Calculator

Legal

  • View All
  • Categories
  • Currency Converter
  • Sitemap
  • Games & Fun Tools
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms of Service
  • Disclaimer

Languages

  • enEnglish
  • arالعربية
  • esEspañol
  • deDeutsch
  • frFrançais
  • hiहिन्दी
  • idBahasa Indonesia
  • itItaliano
  • ja日本語
  • ko한국어
  • ptPortuguês
  • ruРусский
  • trTürkçe
  • viTiếng Việt
  • bnবাংলা
  • zh中文
  • nlNederlands
  • plPolski
  • ukУкраїнська
  • msBahasa Melayu
  • thภาษาไทย

© 2026 Calculora. All rights reserved.

Built with — 100% free

Lightweight & fast — cookies and analytics run only with your consent

  1. Home
  2. Math Calculators
  3. Logarithm Calculator

Logarithm Calculator

Calculate logarithms in any base including log base 10, natural log (ln), and custom bases. See step-by-step solutions using the change-of-base formula.

What is Logarithm Calculator?

The logarithm is one of the most powerful and versatile mathematical concepts, forming the foundation of everything from earthquake measurement to signal processing, from information theory to chemical pH. At its core, log_b(n) asks: "What power must I raise b to in order to get n?" When b = 10, this is the common logarithm; when b = e ≈ 2.718, it is the natural logarithm — the language of growth, decay, and continuous change.

This calculator handles all three standard logarithm types — log base 10, natural log (ln), and any custom base — and displays the full step-by-step solution using the change-of-base formula. Understanding this formula is key: every logarithm can be expressed as a ratio of two natural logs, making computation possible with any scientific calculator.

Formula

Definition: log_b(n) = x ↔ b^x = n
 
Change of base: log_b(n) = ln(n) / ln(b) = log₁₀(n) / log₁₀(b)
 
Logarithm rules:
Product: log_b(xy) = log_b(x) + log_b(y)
Quotient: log_b(x/y) = log_b(x) − log_b(y)
Power: log_b(xⁿ) = n × log_b(x)
 
Special: log_b(1) = 0, log_b(b) = 1, ln(e) = 1

How to Calculate

  1. Enter the number n (must be positive — logarithm of zero or negatives is undefined).
  2. Select your base: log₁₀ for common logarithm, ln for natural logarithm, or enter a custom base.
  3. The calculator applies the change-of-base formula: log_b(n) = ln(n) / ln(b).
  4. Verify the result by checking: b^result ≈ n (shown as antilog).
  5. Use the reference table to compare logarithm values across different bases.

Example

Find log₅(125): log₅(125) = ln(125)/ln(5) = 4.8283/1.6094 = 3. Verification: 5³ = 125 ✓. This makes intuitive sense because 125 = 5³.

Key Terms Explained

Logarithm
The exponent to which a base must be raised to produce a given number
Common logarithm (log₁₀)
Base-10 logarithm, used in pH and decibels
Natural logarithm (ln)
Base-e logarithm, fundamental in calculus and growth models
Antilogarithm
The inverse of a logarithm — b raised to the power of the log result
Change-of-base formula
log_b(n) = ln(n)/ln(b) — converts any log to computable form
Euler's number (e)
Mathematical constant ≈ 2.71828, base of the natural logarithm

Common Use Cases

  • Solving exponential equations in algebra and calculus
  • Computing pH of a solution: pH = −log₁₀[H⁺]
  • Calculating decibel levels: dB = 10×log₁₀(P₁/P₀)
  • Analyzing Richter scale earthquake magnitudes
  • Computing information entropy: H = −Σ p×log₂(p)
  • Continuous compound interest: A = Pe^(rt)

Frequently Asked Questions

What is a logarithm?
A logarithm answers: "To what exponent must I raise the base to get this number?" If log_b(n) = x, then b^x = n. For example, log₁₀(1000) = 3 because 10³ = 1000.
What is the natural logarithm (ln)?
The natural logarithm (ln) uses Euler's number e ≈ 2.71828 as its base. It appears in calculus, compound interest, population growth, radioactive decay, and physics. ln(x) = log_e(x).
What is the change-of-base formula?
The change-of-base formula: log_b(n) = ln(n)/ln(b) = log₁₀(n)/log₁₀(b). This means any logarithm can be computed using only ln or log₁₀.
Why are logarithms used in science?
Logarithms compress huge ranges into manageable scales. The Richter scale, decibel scale, pH scale, and stellar magnitude all use logarithms. In computing, O(log n) algorithms are among the most efficient possible.

Related Tools

Percentage Calculator
Scientific Calculator
Fraction Calculator
Exponents Calculator
Matrix Calculator
Equation Solver
Result log₁₀(n)
2
log₁₀(n)
2
ln(n) — natural log
4.60517019
Antilog (b^result ≈ n)
100
Step-by-Step Solution
1

Given values

2

Change-of-base formula

3

Calculate natural logarithms

4

Divide

✓

Result: log base 10 of 100

6

Verification (exponentiation check)

Common Logarithm Values
nlog₁₀(n)ln(n)log₂(n)
1000
20.301030.693147181
50.698971.609437912.32192809
1012.302585093.32192809
10024.605170196.64385619
100036.907755289.96578428
e ≈ 2.7180.4342944811.44269504