Set an item threshold for your circuit
Read the table from left to right: choose a target signal, find the minimum item count, then check the output that count actually produces. The highlighted row follows your current result or selected target.
- Choose a container card. Its slot count sets the capacity; a double chest has 54 slots.
- Select the item's maximum stack size: 64, 16 or 1. Enter the total item count to read the signal (0–15).
- For mixed items, enable the advanced view and enter each slot's count and stack limit. Empty slots still count towards the container's capacity.
- Switch to Signal to items to choose a target strength. The table lists the minimum threshold and the actual output for every strength.
two stacks in a chest
A chest has 27 slots. Two full stacks of stone are 128 items and produce signal 2. With a stack limit of 64, signal 2 starts at 124 items; 123 items still give signal 1.
Use that threshold to plan a storage alarm. Leave room for items arriving between the comparator reading the container and your circuit responding.
Read the fullness behind the signal
Each slot contributes its item count divided by that item's stack limit. Add those fractions, then divide by the container's total slot count. An empty container gives 0. Otherwise, multiply fullness by 14, round down to a whole number, and add 1.
Moving the same items between slots does not change the output, as long as the items and their stack limits stay the same. One unstackable item fills a whole slot; one item with a stack limit of 16 fills four times as much space as one with a limit of 64.
Check for skipped signal strengths
The reverse calculation rounds the required item count up to a whole item. Unstackable items can jump over strengths: a hopper with one diamond sword gives 3, and two give 6. An asterisk in the table means the minimum threshold produces a higher signal than the target.
Build around the container’s limits
A furnace has three slots and a brewing stand has five, but their slots accept different items. The calculator measures the inventory you enter; it does not check recipes or slot permissions. Use per-slot stack limits for bottles, fuel and ingredients.
A chest or trapped chest with a solid block or a sitting cat on top gives no comparator signal. A barrel still gives a signal with a solid block or a sitting cat on top.
Comparator subtract mode and signal loss along redstone dust are outside this calculation.
Special block outputs
Cake
Each remaining slice adds 2 signal strength.
| Remaining slices | Comparator output |
|---|---|
| 7 | 14 |
| 6 | 12 |
| 5 | 10 |
| 4 | 8 |
| 3 | 6 |
| 2 | 4 |
| 1 | 2 |
Composter
The output equals the compost level, from 0 to 8. Level 7 lasts about one second, then the composter turns ready at level 8.
| Compost level | Comparator output |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
| 7 | 7 |
| 8 | 8 |
Empty cauldron
An empty cauldron outputs 0.
| Fill level | Comparator output |
|---|---|
| 0 | 0 |
Cauldron with water
The output equals the water level, from 1 to 3.
| Fill level | Comparator output |
|---|---|
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
Cauldron with powder snow
The output equals the powder snow level, from 1 to 3.
| Fill level | Comparator output |
|---|---|
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
Cauldron with lava
A lava cauldron outputs 3.
| Fill level | Comparator output |
|---|---|
| 1 | 3 |
Respawn Anchor
Zero to four charges give outputs 0, 3, 7, 11 and 15.
| Charges | Comparator output |
|---|---|
| 0 | 0 |
| 1 | 3 |
| 2 | 7 |
| 3 | 11 |
| 4 | 15 |
End Portal Frame
An empty frame outputs 0. A frame with an eye of ender outputs 15.
| Eye present: 0 = no, 1 = yes | Comparator output |
|---|---|
| 0 | 0 |
| 1 | 15 |
Beehive
The output equals the honey level, from 0 to 5.
| Honey level | Comparator output |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
Bee Nest
The output equals the honey level, from 0 to 5.
| Honey level | Comparator output |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
Chiseled Bookshelf
The output is the last slot used, from 1 to 6. It is not the number of books.
| Last slot used: 0 = none | Comparator output |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
Crafter
Each occupied or disabled slot adds 1, up to 9. Count each slot once.
| Occupied or disabled slots | Comparator output |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
| 7 | 7 |
| 8 | 8 |
| 9 | 9 |
Decorated Pot
An empty pot outputs 0. Stored items use the fullness formula for one slot.
| Stored items (stack limit 64) | Comparator output |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 4 | 1 |
| 32 | 8 |
| 64 | 15 |
Jukebox
The output depends on the inserted music disc. These values come from the built-in song data for Java 26.3.
| Music disc ID | Comparator output |
|---|---|
| 11 | 11 |
| 13 | 1 |
| 5 | 15 |
| blocks | 3 |
| bounce | 8 |
| cat | 2 |
| chirp | 4 |
| creator | 12 |
| creator_music_box | 11 |
| far | 5 |
| lava_chicken | 9 |
| mall | 6 |
| mellohi | 7 |
| otherside | 14 |
| pigstep | 13 |
| precipice | 13 |
| relic | 14 |
| stal | 8 |
| strad | 9 |
| tears | 10 |
| wait | 12 |
| ward | 10 |
Comparator questions
Why does one item already give signal 1?
The formula adds 1 whenever the container is not empty. In a chest, one stone is enough for signal 1, although it fills only a small fraction of one slot.
Why do 16-stack items count four times as much?
Fullness uses the item's own stack limit. One ender pearl is 1/16 of a slot, while one stone is 1/64. Four stone contribute the same fullness as one ender pearl.
Does a double chest need twice as many items?
For strengths 2–15, doubling the slot count doubles the fullness requirement before rounding. The final whole-item threshold can be one item below twice the single-chest threshold. Both chest sizes need only one item for signal 1.
Can every container produce all 15 strengths?
Not with every stack size. Five unstackable items fill a hopper, so its outputs are 0, 3, 6, 9, 12 and 15. Choose a smaller fullness contribution per item to reach more intermediate strengths.



