عالميمجاني

حاسبة اللوغاريتم: اللوغاريتم للأساس 10 وln وlog₂ وأي أساس

احسب لوغاريتم عدد موجب للأساس 10 أو الأساس e أو الأساس 2 أو أي أساس تختاره، مع عرض اللوغاريتمات الشائعة الثلاثة جنبًا إلى جنب، وتحقق يرفع الأساس إلى قوة الناتج للعودة إلى العدد.

تبقى مدخلاتك في علامة التبويب هذه. لا نتلقى ملفاتك أو النصوص الملصقة أو قيم الحسابات.

المدخلات

تلميح: اضغط Ctrl + Enter للتشغيل

نتيجتك

ستظهر نتيجتك هنا.

المساعدة المفصلة أدناه متاحة بالإنجليزية فقط حاليًا.

حول هذه الأداة

A logarithm answers “what power do I raise the base to, to get this number?”. This calculator gives that answer in base 10, base e, base 2 or any base you choose, and lists the three common logarithms side by side. It is useful for algebra and chemistry homework, decibels and pH, the number of bits needed for a value, and working out how long something takes to double at a steady growth rate.

طريقة الاستخدام

  1. Enter the number x. It must be greater than 0.
  2. Pick base 10, base e (the natural log, ln), base 2, or “another base”.
  3. For another base, type it in the last field, for example 1.07 for 7% growth. The base must be positive and not 1.
  4. Run it to see the logarithm, ln, log₁₀ and log₂ of x, and a check that raises the base to the result.

كيف يعمل الحساب

Any logarithm can be written with natural logs: log_b(x) = ln(x) ÷ ln(b). The tool computes it that way using the browser’s double-precision maths, shows up to ten decimal places and then raises the base to the result so you can see that it returns x. Very small rounding differences in the last digit are normal for floating-point arithmetic.

log_b(x) = ln(x) ÷ ln(b), for x > 0, b > 0, b ≠ 1

مثال تطبيقي

An investment grows 7% a year and you want to know how long it takes to double. The answer is log base 1.07 of 2, which is 10.2447683511 years, a little over ten years. The check line confirms that 1.07 raised to that power gives back 2. For comparison, ln 2 is 0.6931471806 and log₁₀ 2 is 0.3010299957.

مثال على الإدخال والنتيجة

مثال: log₁₀(1000) = 3؛ log₂(1024) = 10؛ ln(e²) = 2

القيود

  • Real logarithms only. Logs of zero, negative numbers and complex results are not supported.
  • Precision is limited to about 15 significant digits, the same as a spreadsheet.
  • Inputs larger than 10³⁰⁰ are rejected to stay within floating-point range.

آخر تحديث:

الأسئلة الشائعة

ما الفرق بين log وln؟

في معظم الآلات الحاسبة يعني log الأساس 10 ويعني ln الأساس e (نحو 2.71828). وفي بعض نصوص الرياضيات والبرمجة يعني log وحده اللوغاريتم الطبيعي.

لماذا لا يمكنني حساب لوغاريتم 0 أو عدد سالب؟

لا يوجد أساس موجب مرفوع إلى قوة حقيقية يعطي 0 أو عددًا سالبًا، لذا فاللوغاريتم غير معرّف هناك في الأعداد الحقيقية.

الأسئلة الشائعة

Is log on my calculator base 10 or base e?

On most calculators the log key is base 10 and ln is base e. In many programming languages, log() means the natural logarithm, so check the documentation before comparing results.

How do I undo a logarithm?

Raise the base to the answer: if log₁₀(x) = 3, then x = 10³ = 1000. The scientific calculator can evaluate powers like 10^3 directly.

What is the rule of 72?

It is a shortcut for doubling time: 72 ÷ 7 ≈ 10.3 years at 7%. The exact answer from logarithms here is 10.24 years, so the shortcut is close for typical rates.

استكشاف الأخطاء وإصلاحها

It says the number must be greater than 0.

Logarithms of 0 and negative numbers are not defined for real numbers. Check for a stray minus sign.

It says the base is not allowed.

The base must be greater than 0 and not equal to 1, because 1 raised to any power is always 1.

My answer is 2.9999999999 instead of 3.

That is floating-point rounding. The displayed result is rounded to ten decimals, which normally hides it.

الخصوصية & مجاني

هل تُخزَّن مدخلاتي؟

تبقى مدخلاتك في علامة التبويب هذه. لا نتلقى ملفاتك أو النصوص الملصقة أو قيم الحسابات.

هل هذه الأداة مجانية؟

نعم. لا يلزم تسجيل أو دفع.

تتم المعالجة في متصفحك

خطوات تالية مفيدة