The left shifter moves the chain across the three toothed rings at the pedals (the chainrings). The right one moves it across the seven at the back wheel (the cogs). The short answer, for shifters numbered like the example below (as many Shimano shifters with an indicator do):
Remember the rule, not the numbers: for a climb, small ring in front, big cog at the back. Some shifters count the other way, so look once at where the chain sits.
Change gear, then turn the pedal: drag the crank round or press “One pedal turn”. The back wheel turns as many times as the ratio says.
One pedal turn =
·
Each dot is a combination, placed by how hard it is to pedal: easy on the left, hard on the right. The rows are the three chainrings. Tap a dot to put it on the bike.
Left 1 with right 6 (24/16) and left 3 with right 1 (42/28) both give 1.5 wheel turns for one pedal turn: 24 × 28 = 42 × 16 = 672. On paper you have 21 gears, but some overlap. Both also bend the chain: 42/28 in an extreme diagonal, 24/16 nearly as much. The same feel with a nearly straight chain comes from left 2, right 3 (34/22 = 1.55).
Another pair: 24/14 (left 1, right 7) gives 1.714 and 34/20 (left 2, right 4) gives 1.700. The gap is under 1%, which legs cannot feel. The first is one of the two most crossed positions; the second sits in the middle.
“Big” and “small” confuse everyone, because they work in opposite directions at the front and the back. The chainring sits with the pedals: the more teeth it has, the more chain one turn pulls. The cog sits at the wheel: the more teeth it has, the more chain it needs to make one turn. The ratio is simple: chainring teeth divided by cog teeth. 24 ÷ 28 = 0.86 wheel turns, so the pedals spin easily and you go a short way. 42 ÷ 14 = 3 turns, so each pedal turn takes you 3.5 times as far (with the 14–28 cogs) and costs far more effort.
There is no single right gear: it depends on the slope, the wind and your legs. But there are good zones and clear mistakes.
The shifter numbers and tooth counts are those of a common 3×7 drivetrain, with 24/34/42 chainrings and 14–28 or 14–34 cogs. Your bike may have other numbers, and some shifters count the other way. Hub gears (one shifter, the mechanism hidden in the back wheel) work differently. The km/h figure is theoretical: an illustrative 2.10 m wheel circumference and 60 pedal turns a minute, with no wind, slope or tiredness. Derailleur adjustment and part compatibility are another subject.
Chainring teeth: Shimano FC-TY301 (42-34-24 and 48-38-28 versions). Cogs: Shimano MF-TZ510-7 (14-16-18-20-22-24-28 and 14-16-18-20-22-24-34). Shifting rules: British Cycling, “Understanding gears”; BikeRide, “How to shift your gears”; the Romanian guides on AFISport and Echiliber. Formula: ratio = chainring teeth ÷ cog teeth; distance per turn = ratio × wheel circumference; speed = distance × turns per minute × 60 ÷ 1000.