A cap is just the connector

When a bulb dies, the one thing that really matters is whether the new one will fit. The name for that is the cap (some shops say base or socket). It is the part that connects the bulb to the lamp, and it is printed on the old bulb and on the packaging as a short code like E27.

The code is less mysterious than it looks. The letter says how the bulb connects, and the number is a measurement in millimetres. E is for Edison screw, so E27 is a screw cap about 27 mm across and E14 is a smaller one about 14 mm across. GU means a twist-lock with two pins, and the 10 in GU10 is the distance between the pins in mm. G9 has pins 9 mm apart. B22 is a bayonet cap, 22 mm across, with two little pegs that lock into slots.

Try to fit a bulb

Your lamp's socket

Bulb in your hand

Or measure what you have

Pick a socket and a bulb. A match slides in; a mismatch stays out and tells you why. Sizes are drawn to scale across the screw caps, roughly.

The five you will actually meet

CapHow it fitsOften found in
E27Screws in, about 27 mmTable lamps, floor lamps, pendant shades
E14Screws in, about 14 mmSmall shades, candle-style bulbs, chandeliers
B22Push and twist, pegs lock inLamps in the UK and Ireland, and some other regions
GU10Push and twist, pins 10 mm apartSpotlights, downlights, track lights
G9Pins push in, 9 mm apartSmall wall and ceiling lights

Cap shapes vary by country and by decade, so an older lamp may not follow the pattern. Trust what is printed on your own bulb, not the table.

How to find out what you have

Start with the easy answer: read the old bulb. The cap code is usually printed on the glass or the base, and always on the box. If the bulb is gone or unreadable, take a photo of the empty socket and compare it with the drawings above. Screw sockets show a thread, bayonet ones show two small slots, and pin sockets show two holes.

If you still are not sure, measure. For a screw cap, measure across the outer ridges of the thread with a ruler or callipers. For pins, measure from the middle of one pin to the middle of the other. Type the number into the box above to see the closest match. Before touching anything, switch the lamp off, unplug it or switch off at the wall, and let the bulb cool. Take extra care with GU10 and G9 fittings, which often run straight from the mains. If the socket itself looks cracked, scorched or loose, that is a job for an electrician, not a new bulb.

What else decides if it works

The cap is only the first check. Once the bulb fits, look at three more things:

It costs nothing to check the drawer first: spare bulbs, a lamp from a relative or a second-hand find often fit your sockets already. A small bulb costs roughly a few euros, so matching the cap is cheaper than replacing a lamp you like.

What to look for

What to buy, if anything

If your bulbs still work, buy nothing. If you need one, the examples below show three common caps at different budgets. They are examples, not tests: pick the one that matches the cap in your lamp.