← All text tools

Balanced ternary and negabinary converter

Convert whole numbers to balanced ternary (digits T, 0, 1), base minus 2 and base minus 10, and back to decimal, with the division steps and a table of the first 20 numbers.

  • Free
  • No sign-up
  • Works on any device

About Balanced ternary and negabinary converter

Balanced ternary writes numbers in base 3 using the digits −1, 0 and 1, usually printed as T, 0 and 1. Negabinary and negadecimal use a negative base, so every integer, positive or negative, needs no minus sign at all. This converter takes a number in decimal, balanced ternary, base −2 or base −10 and shows all four forms. Example: 42 is 1TTT0 in balanced ternary, 1111110 in base −2 and 162 in base −10. The division steps and a table of 1 to 20 show how each digit arises.

How to use Balanced ternary and negabinary converter

  1. Choose the system your number is written in, such as decimal or balanced ternary.
  2. Type the number; in balanced ternary use T for the digit minus one.
  3. Read the four forms of the number and open the division steps to see how each digit was found.

Why use this tool?

Also known as

Frequently asked questions

What does T mean in balanced ternary?

T stands for the digit −1 (some write it as a 1 with a bar over it). Digits are −1, 0 and 1, so 10 means 3 and 1T means 2.

How do negative bases avoid a minus sign?

Place values alternate in sign, such as 1, −2, 4, −8. By choosing the digits so the signed total matches, any integer, even a negative one, is written with plain digits.

Why was balanced ternary ever used in a computer?

The Soviet Setun machine of 1958 used it. Negating a number just flips every digit, and rounding is truncation, which made the arithmetic elegant, although binary hardware won.

Is Balanced ternary and negabinary converter free?

Yes. Balanced ternary and negabinary converter on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Can I put Balanced ternary and negabinary converter on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

Related tools