Logarithm Calculator
Calculate the logarithm of any positive number with any positive base. Supports common log (base 10), natural log (base e), and binary log (base 2).
How It Works
The logarithm answers the question: "To what power must the base be raised to produce a given number?" If by = x, then logb(x) = y.
For example, log10(1000) = 3 because 103 = 1000.
Common Logarithm Types
- Common log (log10) — Base 10, widely used in science and engineering
- Natural log (ln) — Base e ≈ 2.71828, fundamental in calculus and physics
- Binary log (log2) — Base 2, essential in computer science and information theory
Change of Base Formula
Any logarithm can be computed using the change of base formula:
Logarithm Properties
Common Logarithm Values
| x | log10(x) | ln(x) | log2(x) |
|---|---|---|---|
| 0.01 | −2 | −4.6052 | −6.6439 |
| 0.1 | −1 | −2.3026 | −3.3219 |
| 1 | 0 | 0 | 0 |
| 2 | 0.3010 | 0.6931 | 1 |
| e | 0.4343 | 1 | 1.4427 |
| 10 | 1 | 2.3026 | 3.3219 |
| 100 | 2 | 4.6052 | 6.6439 |
| 1000 | 3 | 6.9078 | 9.9658 |
Applications of Logarithms
- Decibels — Sound intensity measured on a logarithmic scale (base 10)
- pH Scale — Acidity measured as −log10 of hydrogen ion concentration
- Richter Scale — Earthquake magnitude uses base-10 logarithms
- Information Theory — Entropy and data compression use base-2 logarithms (bits)
- Compound Interest — Time to double an investment: t = ln(2) / ln(1 + r)
- Algorithm Analysis — Binary search and balanced trees have O(log n) complexity
Feedback
Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.
Sending...
Feedback sent. Thank you!
Error occurred!
-
-
-
-
-
-
-
- ABI Encoder / Decoder
- Block Estimator
- Calldata Cost
- CREATE2 Address
- ENS Availability
- ENS Cost Estimator
- ENS Lookup
- ENS Namehash
- ENS Record Viewer
- ENS Subname Explorer
- ERC-20 Unit Converter
- Gas Estimator
- HD Wallet Derivation
- Merkle Tree Visualizer
- 4-Byte Selector Lookup
- Solidity Storage Layout
- Transaction Decoder
- Vanity Address Estimator
- Wallet Address Validator
- Wei/Gwei/Ether Converter
-
-
-
-
-
- API Response
- ASCII Table
- Code Bug Detector
- Code Explanation
- CSS Beautifier
- Env Parser
- GraphQL Query
- Syntax Highlight
- HTML Beautifier
- JS Beautifier
- JSON Formatter
- JSONPath
- JWT Decoder
- JS keyCodes
- API Lorem Ipsum
- RegExp
- Regex Library
- Semver Compare
- SQL Beautifier
- TOML Formatter
- Code Unminifier
- XML Beautifier
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Amortization
- Break-Even
- Compound Interest
- Crypto Profit/Loss
- Debt Payoff
- Discount
- Effective Interest
- Emergency Fund
- Inflation Calculator
- Simple Interest
- Invoice Calculator
- IRR Calculator
- Mortgage
- NPV Calculator
- Portfolio
- Profit Margin
- Rent vs Buy
- Retirement Calc
- ROI Calculator
- Salary vs Hourly
- Savings Goal
- Tax Calculator
- VAT
-
-
-
-
-
-
-
-
-
-
-
-
- Equation Solver
- Exponent Calculator
- Factorial Calculator
- Fibonacci Sequence
- Fraction Calculator
- Fraction Simplifier
- GCD Calculator
- GCD/LCM
- Least Common Multiple (LCM) Calculator
- Logarithm Calculator
- Magic Square
- Matrix Calculator
- Number Base Converter
- Pascal's Triangle
- PDE Solver
- Prime Checker
- Prime Factorization
- Roman Numbers
- Scientific Notation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Broken Link Checker
- Canonical URL Checker
- Core Web Vitals Checker
- Favicon
- Heading Structure
- Keyword Density
- Meta Tags
- Mobile-Friendly Test
- Open Graph Tags
- Page Load Time Analyzer
- Redirect Checker
- robots.txt
- Schema Markup
- SEO Optimized Checklist
- XML Sitemap
- Time on Page Tracker
- Page Title & Desc.
- Twitter Card Generator
-
-
-
-
-
-
- Acceleration
- Substance Amount
- Angle
- Area
- Astronomical
- Base Converter
- Capacitance
- Electric Charge
- Data Transfer
- Data Storage
- Density
- Energy Converter
- Force Converter
- Frequency Converter
- Fuel Economy
- Illuminance
- Inductance
- Length / Distance
- Power
- Pressure
- Electrical Resistance
- Time
- Speed
- Temperature
- Viscosity
- Volume
- Weight
-
-
-
-
-