Runs in this tab · nothing uploaded

EN

English

हिन्दीComing soon

EspañolComing soon

Pinned
HelpyTools

More

Binary to decimal

Convert binary numbers of any length to decimal, with hex and octal shown too, exactly and as you type.

Runs in your browserNothing uploadedWorks offline

Set up for this job. It runs on Number base converter, where every option is there to change.

Loading Binary to decimalRuns on this device. Nothing is uploaded.

Questions

How does binary to decimal work?

Each digit is a power of 2, counted from the right: 1, 2, 4, 8 and so on. Add up the powers where the digit is 1. 101010 is 32 + 8 + 2 = 42.

Is there a length limit?

No practical one. Numbers are handled as BigInt, so very long binary strings convert exactly instead of being rounded.

Does it handle negative numbers?

A leading minus sign is kept. Two's complement bit patterns are read as plain positive numbers.

All developer tools

↑ ↓ move↵ openesc close

The tray

Install HelpyTools

Get HelpyTools on your home screen or Dock. It opens in its own window, and tools you have opened once keep working offline.