Base-3 Β· Digits T Β· 0 Β· 1

Balanced
Ternary

Convert, calculate & visualize numbers in the system that needs no minus sign. T = βˆ’1 0 = 0 1 = +1

Number Converter

Decimal β†’ BT
BT β†’ Decimal
Std Ternary β†’ BT
BT β†’ Std Ternary

About Balanced Ternary

Balanced ternary is a base-3 system using the digits T (βˆ’1), 0 (0) and 1 (+1). It represents positive numbers, negative numbers and zero all in one notation β€” no separate minus sign required.

Negating a number is wonderfully simple: just swap every 1 with a T and every T with a 1. For example, 1T0 equals 6, so its negative T10 equals βˆ’6.

Balanced Ternary Calculator

 
0
= 0

Type with your keyboard: 1 0 T Β· + βˆ’ * / % Β· Enter = Β· ⌫ delete Β· Esc clear

How it works

Each operand is read as a balanced ternary integer, the arithmetic is done exactly, and the answer is shown both in balanced ternary and (in orange) its decimal value. Division uses integer (truncated) division; use mod for the remainder.

Handy Utilities

Negator

Flip the sign instantly by swapping every 1 ↔ T.

Increment / Decrement

Step a balanced ternary number up or down by one.

Comparator

Compare two balanced ternary numbers side by side.

The Balance Scale

Balanced ternary gets its name from an old puzzle: weigh any whole number of grams using weights of 1, 3, 9, 27 … placed on either side of a two-pan scale. Each digit says where its weight goes β€” 1 on the empty pan, T on the object's pan, 0 set aside.

7

Left pan Β· holds the object

N = 7

Right pan Β· counterweights

The conversion algorithm, step by step

Repeatedly divide by 3, but keep the remainder balanced in {βˆ’1, 0, +1}. A remainder of 2 becomes βˆ’1 (digit T) with a carry of +1 to the next division.

Reference & Charts

Digits needed by number base why base-3 is so compact
81

Value chart (βˆ’13 to 13)

Decimal, balanced ternary, and standard ternary (base-3 with digits 0,1,2) side by side. Standard ternary has no representation for negative numbers.

DecimalBalanced TernaryStandard Ternary

Powers of three

The place values of every balanced ternary digit.

PlaceDecimal valueBalanced ternary

Quick Quiz

Test your balanced ternary reading speed.

Loading…

 

Score: 0/0 Streak: 0 Best: 0