log2 Log Base 2 Calculator

Calculate the base-2 logarithm.

No ratings yet — be the first

Enter details

Log base 2
log2= ?

Log in or create a free account to save your inputs and results, so you don't have to enter them again next time.🔒 No spam, ever. We never sell or share your details, and you can delete your history or account at any time. Privacy policy

Fill in the details and click Calculate to see your results.

Rate this calculator

Was it useful? A quick star rating helps others — and you can leave a comment too.
Rate it: ★ ★ ★ ★ ★

📘 About the Log Base 2 Calculator

log₂ x is the power of 2 that gives x: log₂ 1024 = 10. In computing it tells you how many bits are needed and how many halving steps a binary search takes.

🧮 Formula

Where

  • log2(x) = ln(x) / ln(2)
Input must be positive.

✏️ Worked examples

log₂ 8

You enter
Number8
You get
log2 Result3

3.

log₂ 1000

You enter
Number1000
You get
log2 Result9.96578

9.96578.

🧭 How to use this calculator

What you enter

  • Number

What you get

  • log2 Result

💡 Common uses

  • School mathematics and algebra
  • Scientific calculations
  • Engineering and measurement

❓ Frequently asked questions

What is log₂ 1024?

10.

How do I calculate log₂ on a normal calculator?

log₂ x = ln x ÷ ln 2 = log x ÷ 0.30103.