対数計算機
任意の基数の対数と自然対数を計算します。
結果はタイプすると更新されます。
この計算機の情報
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.
よくある質問
対数とは何ですか。
log₁₀(1000) = 3 なぜなら 10³ = 1000 だからです。ログは数値に達するために必要な指数を示します。
塩基変換式は何ですか。
ln または log₁₀ のみを持つ計算機から任意の基底の対数を求めるには、log_b(x) = ln(x) / ln(b) を使う。
自然対数は何ですか。
自然対数は ln と書かれ、基数 e の対数 (約 2.71828) です。このツールは、選択した基数の隣に ln を表示します。
共通ログは何ですか。
共通対数は基数 10 の対数であり、log または log₁₀ と書かれます。基数を選択するかどうかに関係なく自動的に表示されます。
なぜその数は正でなければならないのか。
実数の実数値を正の基数に変換すると、ゼロまたは負の数が得られます。
なぜ基数が 1 でないのか?
任意の冪に昇華された 1 は常に 1 であり、1 の基底は他の数に達することはできません。対数は定義されていません。基底も正でなければなりません。
API — コードからこの計算機を使う
この計算機を自由な JSON エンドポイントとして呼び出します。鍵は必要ありません。下のフィールド値をクエリパラメータまたは JSON として送信してください。 省略したものは、このページに既に入力されているデフォルトと同じ値を使用します。未知のパラメータは 400 で、サイレンスゼロはありません。 API ドキュメントを読む →
エンドポイント
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);
結果は一般的な指導のための推定であり,財務的,医療的または税務的な助言ではない。