FireCADCalc

Logarithms and Powers in Any Base

Logarithm of a positive number to any base, natural, common and binary logarithms, and the base raised to a chosen power, with e to the same power.

Inputs

Examples: Illustrative x = 250, base 5, exponent 3.2Small x, base 10, negative exponentBase below one

Accepted: 1E-300 to 1E+300
Accepted: 1E-6 to 1,000,000
Accepted: -50 to 50

Results

Any logarithm follows from the natural one by the change of base log_b x = ln x/ln b. Logarithms turn products into sums, so they appear in decibels (10 log₁₀), pH (−log₁₀), entropy and LMTD, decay and half-lives (ln 2) and data (log₂ for bits). Powers b^y are evaluated as e^(y ln b).

Logarithm to base b-4.4318
Natural logarithm-10.205
Common logarithm-4.4318
Binary logarithm-14.722
Base to the power y0.003162
e to the power y0.082085

Download PDF CSV Link to this result Compare another case

Log in to save calculations to your dashboard.

Worked example

Example: Illustrative x = 250, base 5, exponent 3.2. The inputs, in the units selected above:

InputValue
Number for the logarithms250.00 -
Base5.0000 -
Exponent for the powers3.2000 -

Applying the formula below gives:

ResultValue
Logarithm to base b3.4307
Natural logarithm5.5215
Common logarithm2.3979
Binary logarithm7.9658
Base to the power y172.47
e to the power y24.533

Open this example in the calculator and change any input.

Formula

\(\log_b x = \frac{\ln x}{\ln b}, \quad b^y = e^{y\ln b}\)

Variables

Symbol Meaning SI unit
\(x\) Number for the logarithms -
\(b\) Base -
\(y\) Exponent for the powers -
\(\log_b x\) Logarithm to base b -
\(\ln x\) Natural logarithm -
\(\log_{10} x\) Common logarithm -
\(\log_2 x\) Binary logarithm -
\(b^y\) Base to the power y -
\(e^y\) e to the power y -

Method and standards

Logarithms.

Where it is used

  • Decibels, pH, decay and growth problems.
  • Checking hand calculations.

Common mistakes

  • Confusing ln and log₁₀.
  • Taking logs of zero or negative numbers.

Assumptions and limits

  • Real numbers; double precision.

References

  • Change of base for logarithms

Questions and answers

How do I find an antilogarithm?

Set the base and enter the logarithm as the exponent y: the power b^y is the antilog.

Why must the base differ from 1?

Every power of 1 is 1, so it cannot represent other numbers.

What do the defaults represent?

An illustrative x = 250 in base 5 and an exponent of 3.2.

Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.

Sources

Zwillinger, CRC Standard Mathematical Tables and Formulae, 33rd ed. (CRC Press, 2018)

Related calculators

Free engineering calculators: every page computes in SI and converts to your units. Results are for engineering estimation; verify critical designs against the referenced standards.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.