I-Logarithm Calculator
Calculate the logarithm of a number in any base, plus the natural log.
Iinketho ze projekti
Malunga nale Calculator
A logarithm answers the question "what power do I raise the base to, to get this number?" This calculator computes the log in any base you choose (default base 10) and also always shows the natural log (base e) and the common log (base 10), plus a check that raises the base to the result to confirm it returns your number.
It uses the change-of-base rule, log_b(x) = ln(x) / ln(b), so it can work in any base from the natural logarithm. For example, log base 10 of 1000 is 3, because 10^3 = 1000, and the check line shows 10 ^ 3 = 1000. The natural log of the same number, ln(1000), is about 6.908. The input must be positive, and the base must be positive and not equal to 1, since logs are undefined outside those limits.
Logarithms turn multiplication into addition and compress huge ranges, which is why they power the decibel and Richter scales, pH, compound-growth timelines and information theory. They are the inverse of exponentiation, undoing a power to recover its exponent.
Imibuzo ebuza rhoqo
Yintoni i-logarithm?
I log10( 1000) = 3 kuba 103 = 1000. I log ithetha ukuba i exponent efunekayo ukufezekisa inani.
Yintoni ifomula yotshintsho lwesiseko?
Ukufumana i log kwisiseko nasiphi na kwi kalkuli enayo kuphela i ln okanye i log₁₀, sebenzisa i log_ b( x) = ln( x) / ln( b).
Yintoni i-log eqhelekileyo?
The natural log, written ln, is the logarithm in base e (about 2.71828). This tool shows ln alongside whatever base you pick.
Yintoni ilog eqhelekileyo?
I log eqhelekileyo yi logarithm kwisiseko 10, ibhalwe i log okanye i log₁₀. Ibonisa ngokuzenzekelayo ngaphandle kokungakhathali kwesiseko okhetha.
Kutheni le nto inani kufuneka libe lilungileyo?
Awunakunyusa isiseko esilungileyo nakweyiphi na intshukumo esebenzayo kwaye ufumane i zero okanye inani elilahlekileyo, ngoko i logs ye zero okanye elilahlekileyo ayichazwanga.
Kutheni isiseko asikwazi ukuba yi-1?
Enye inyuka nakweyiphi na intshukumo ihlala i-1, ngoko ke isiseko se-1 asizukufikelela kwenye inani - i-logaritm ayichazwanga. Isiseko kufuneka si positive.
API — sebenzisa le calculator ukusuka kwikhowudi
Nceda le khadi lemali njengendawo esemva ye-JSON ekhululekileyo - akukho qhosha lifunekayo. Thumela amaxabiso endawo ezantsi njengeparameter yombuzo okanye i-JSON. Nantoni na oyenzayo isebenzisa okungagqibekanga okufanayo eli phepha ligqityiwe ngaphambili; iparameter engaziwayo yi 400, ayikho i zero ekhululekileyo. Funda i-API epheleleyo →
Incopho yesiphelo
GET https://calculator.free/api/v1/logarithm/
curl
curl "https://calculator.free/api/v1/logarithm/?number=1000&base=10"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/logarithm/?" + new URLSearchParams({
"number": "1000",
"base": "10"
}));
const data = await r.json();
console.log(data.results);
Results are estimates for general guidance only, not financial, medical or tax advice.