UseCalcPro
Home
MathFinanceHealthConstructionAutoPetsGardenCraftsFood & BrewingTools
Blog
  1. Home
  2. Math

Logarithm Calculator

Compute log₁₀, ln, log₂, and custom base logarithms

log₁₀ Result

2.000000

log₁₀

2.0000

ln

4.6052

log₂

6.6439

Must be a positive number (x > 0)

All Logarithm Values

log₁₀(100)

2.000000

ln(100)

4.605170

log₂(100)

6.643856

Change of Base

log10(100) = ln(100) / ln(10) = 4.605170 / 2.302585 = 2.000000

Formula: log_b(x) = ln(x) / ln(b)

Properties

10^log₁₀(100)100
e^ln(100)100
2^log₂(100)100

Log Rules

log(a × b) = log(a) + log(b)
log(a / b) = log(a) − log(b)
log(a^n) = n × log(a)
log_b(1) = 0
log_b(b) = 1

Formulas Used

Change of Base Formula

log_b(x) = ln(x) / ln(b)

Convert a logarithm from any base to natural log (or any other base). This is the foundation for computing arbitrary-base logarithms.

Where:

b= The base of the logarithm (b > 0, b ≠ 1)
x= The number to take the logarithm of (x > 0)
ln= Natural logarithm (base e ≈ 2.71828)

Product Rule

log_b(x × y) = log_b(x) + log_b(y)

The logarithm of a product equals the sum of the logarithms. This turns multiplication into addition.

Where:

x= First factor (x > 0)
y= Second factor (y > 0)
b= Logarithm base

Power Rule

log_b(x^n) = n × log_b(x)

The logarithm of a power equals the exponent times the logarithm of the base value. This turns exponentiation into multiplication.

Where:

x= The base value (x > 0)
n= The exponent (any real number)
b= Logarithm base

Example Calculations

1Common Logarithm: log₁₀(100)

Inputs

Number100
Base10

Result

log₁₀(100)2

log₁₀(100) = 2 because 10² = 100. The common logarithm asks: what power of 10 gives 100?

2Natural Logarithm: ln(e³)

Inputs

Number20.0855 (e³)
Basee

Result

ln(e³)3

ln(e³) = 3 by definition. The natural logarithm base e is the inverse of the exponential function, so ln(e^x) = x.

3Binary Logarithm: log₂(256)

Inputs

Number256
Base2

Result

log₂(256)8

log₂(256) = 8 because 2⁸ = 256. In computing, this means 256 = 2⁸, so 8 bits can represent 256 different values (0–255).

Frequently Asked Questions

Q

What is a logarithm and how does it work?

A logarithm answers the question: what exponent do I need to raise the base to in order to get a given number? For example, log₁₀(1000) = 3 because 10³ = 1000. Logarithms are the inverse of exponentiation.

  • log₁₀(100) = 2 because 10² = 100
  • log₂(256) = 8 because 2⁸ = 256
  • ln(e) = 1 because e¹ = e
  • log_b(1) = 0 for any base b
  • log_b(b) = 1 for any base b
ExpressionValueBecause
log₁₀(1000)310³ = 1000
log₂(64)62⁶ = 64
ln(e²)2e² ≈ 7.389
log₅(125)35³ = 125
Q

What is the difference between log, ln, and log₂?

log (or log₁₀) uses base 10 and is common in science and engineering. ln (natural log) uses base e ≈ 2.71828 and is fundamental in calculus and continuous growth. log₂ uses base 2 and is essential in computer science and information theory.

  • log₁₀: Base 10, used in pH scale, decibels, Richter scale
  • ln: Base e ≈ 2.718, used in calculus, compound interest, population growth
  • log₂: Base 2, used in bits, binary data, algorithm complexity
  • Any log can be converted using change of base: log_b(x) = ln(x)/ln(b)
TypeBaseCommon Use
log (log₁₀)10Science, pH, decibels
lne ≈ 2.718Calculus, growth models
log₂2Computer science, bits
Q

What is the change of base formula?

The change of base formula lets you calculate any logarithm using a different base: log_b(x) = ln(x) / ln(b) or equivalently log_b(x) = log(x) / log(b). This is essential because most calculators only have log₁₀ and ln buttons.

  • Formula: log_b(x) = ln(x) / ln(b)
  • Equivalent: log_b(x) = log₁₀(x) / log₁₀(b)
  • Example: log₃(81) = ln(81)/ln(3) = 4.394/1.099 = 4
  • Works for any positive base b ≠ 1
CalculateUsing lnResult
log₃(27)ln(27)/ln(3) = 3.296/1.0993
log₅(625)ln(625)/ln(5) = 6.438/1.6094
log₇(343)ln(343)/ln(7) = 5.838/1.9463
Q

What are the key logarithm rules and properties?

The three main logarithm rules are the product rule (log(ab) = log(a) + log(b)), quotient rule (log(a/b) = log(a) - log(b)), and power rule (log(a^n) = n·log(a)). These simplify complex expressions into basic arithmetic.

  • Product rule: log(a × b) = log(a) + log(b)
  • Quotient rule: log(a / b) = log(a) − log(b)
  • Power rule: log(a^n) = n × log(a)
  • Identity: log_b(b) = 1
  • Zero: log_b(1) = 0
RuleFormulaExample
Productlog(ab) = log(a)+log(b)log(6) = log(2)+log(3)
Quotientlog(a/b) = log(a)-log(b)log(5) = log(10)-log(2)
Powerlog(a^n) = n·log(a)log(8) = 3·log(2)
Q

Where are logarithms used in real life?

Logarithms appear throughout science and daily life. The Richter scale measures earthquake magnitude logarithmically (each whole number is 10x more powerful). Decibels measure sound on a log scale. The pH scale for acidity is a negative log. In finance, logarithms calculate compound interest periods.

  • Richter scale: magnitude 7 is 10x stronger than 6
  • Decibels: 90 dB is 10x louder than 80 dB
  • pH scale: pH 3 is 10x more acidic than pH 4
  • Finance: time to double money = ln(2)/ln(1+rate)
  • Computer science: binary search is O(log₂ n)
ApplicationLog TypeExample
Richter Scalelog₁₀M7 = 10× M6
Decibelslog₁₀10·log(P/P₀)
pH−log₁₀pH = −log[H⁺]
Binary Searchlog₂O(log₂ n) steps

Understanding Logarithms: A Complete Guide

Logarithms are one of the most powerful tools in mathematics, converting multiplication into addition and exponentiation into multiplication. The logarithm base b of a number x, written log_b(x), answers the question: to what power must b be raised to produce x?

The three most commonly used logarithms are the common logarithm (log₁₀), the natural logarithm (ln, base e), and the binary logarithm (log₂). Each serves different fields: log₁₀ for scientific measurement scales, ln for calculus and continuous processes, and log₂ for computer science and information theory.

Our logarithm calculator computes all three standard bases simultaneously and supports custom bases using the change of base formula. Whether you are solving equations, analyzing data, or studying for an exam, this tool provides instant results with step-by-step breakdowns.

Related Calculators

Exponent Calculator

Calculate powers, roots, and exponential expressions

Square Root Calculator

Find square roots and simplify radical expressions

Scientific Notation

Convert between standard and scientific notation

Percent Calculator

Calculate percentages, increases, and decreases

Triangle Calculator

Calculate triangle area, perimeter, and semi-perimeter from base and height. Shows step-by-step solutions using standard formulas and Heron's formula.

Distance Calculator

Calculate the distance between two points in 2D or 3D using the distance formula. Shows squared distance, midpoint, components, and step-by-step work.

Related Resources

Exponent Calculator

Calculate powers and roots

Scientific Notation Calculator

Convert between standard and scientific notation

Square Root Calculator

Find square roots and nth roots

Fraction Calculator

Add, subtract, multiply and divide fractions

Last Updated: Mar 9, 2026

This calculator is provided for informational and educational purposes only. Results are estimates and should not be considered professional financial, medical, legal, or other advice. Always consult a qualified professional before making important decisions. UseCalcPro is not responsible for any actions taken based on calculator results.

UseCalcPro
FinanceHealthMath

© 2026 UseCalcPro