NordVPN
SponsoredStrict no-logs VPN with 6,400+ servers in 111 countries. Threat Protection blocks ads, trackers, and malware while you work online.
Get NordVPN →A free online logarithm calculator that computes log base b of a value using log_b(x) = ln(x)/ln(b). Works with base 10, base 2, the natural log base e, or any custom base. Enter a positive value and a valid base to get instant, accurate results for math and science.
Enter a value and a base to see the logarithm.
A logarithm answers the question: to what power must the base be raised to produce a given value? In other words, log_b(x) is the exponent that turns the base b into x.
Logarithms turn multiplication into addition and exponents into multiplication, which makes them essential in science, engineering, finance, and computing.
This tool uses the change-of-base formula log_b(x) = ln(x)/ln(b), so it can handle any valid base. The value must be greater than 0, and the base must be greater than 0 and not equal to 1.
Common bases include 10 (common log), 2 (binary log), and e (natural log, about 2.71828).
You choose the base. Common choices are 10, 2, and e, but any base greater than 0 and not equal to 1 works.
Logarithms are only defined for values greater than 0. The logarithm of zero or a negative number does not exist in real numbers.
A base of 1 raised to any power is always 1, so it cannot produce other values, making the logarithm undefined.
Set the base to e (about 2.71828) to get the natural logarithm, ln(x).
Yes. Any positive base other than 1 is allowed, including decimals like 1.5 or 2.5.
Strict no-logs VPN with 6,400+ servers in 111 countries. Threat Protection blocks ads, trackers, and malware while you work online.
Get NordVPN →Managed cloud hosting for WordPress and web apps on DigitalOcean, Vultr, and AWS. Fast setup, no server headaches.
Try Cloudways →