HeronTool
English
Log in
EnglishEnglish 中文Chinese 繁體中文Chinese (Traditional) EspañolSpanish FrançaisFrench DeutschGerman PortuguêsPortuguese ItalianoItalian РусскийRussian العربيةArabic 日本語Japanese 한국어Korean हिन्दीHindi Bahasa IndonesiaIndonesian Tiếng ViệtVietnamese ไทยThai TürkçeTurkish PolskiPolish
HomeMath Tools › Log2 Calculator

Log2 Calculator

Compute the base-2 logarithm of any positive number.

math Math
log2(x)
Bits needed

How to Use

  1. Enter a positive number.
  2. Get log2(x) and the bits needed to represent it.
  3. Useful for information theory and binary math.

Use Cases

log2 is everywhere in CS — binary trees, information theory and algorithm analysis.

Nothing is uploaded — all processing happens locally in your browser.

Comment / Report / My Annotations

Please sign in first — Log in

Please sign in first — Log in

Please sign in first — Log in