Follow the signal from the lever to the output
Pick the two points you want to time. For a piston door, start where the lever changes the signal and end where the piston receives it. Follow one branch at a time if the wire splits. Adding both branches together mixes up two trips that happen in parallel.
- Set Number of repeaters to the repeaters the signal passes through on that branch. Leave out anything on a different branch.
- Set Redstone ticks per repeater to the setting on those repeaters. A freshly placed repeater starts at one redstone tick. Use the repeater again to step through its settings.
- Add the comparators and torch stages along the same path. Add a hopper transfer when your design has to wait for an item to move during its transfer cycle. Hoppers wait eight game ticks between transfers. An idle hopper can move its first item sooner.
If the repeaters have mixed settings, calculate one group at a time and add their game ticks. Count your other parts once. That keeps the timing of a one-tick repeater separate from that of a four-tick repeater.
Line up two parts of a door
Suppose one branch has four repeaters set to one tick. Set the other inputs to zero and read Signal delay. You get eight game ticks. A second branch with two repeaters set to two gives the same delay. Compare each branch up to the point where its signal reaches the piston. The result does not include the piston movement after it gets powered.
Read the number you need
Use redstone ticks when you set a repeater and game ticks when you're following a game's timing chart. The seconds assume the game runs at 20 ticks per second. If the world is lagging, a build can take longer on the clock even when the tick count stays the same.