general

Compute logarithms of a positive number in any base. Returns the custom-base logarithm, natural logarithm (ln), common logarithm (log10), and binary logarithm (log2). Useful for signal processing (decibel calculations), information theory (entropy in bits), pH chemistry, and general scientific computation. Uses the change-of-base formula log_b(x) = ln(x) / ln(b). Feeds into exponent_calc for inverse operations and scientific_notation for order-of-magnitude analysis.

post/api/log_calc

Request

  • Base URL: https://calc.engineer
  • URL: https://calc.engineer/api/log_calc
  • Auth: none declared

Request body

valuenumber required

The positive number to compute the logarithm of

basenumber

The logarithm base (default 10). Must be positive and not equal to 1

Response

Computed result for log_calc

toolstring required
versionstring required
computed_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.