Why does a 17 mm spanner not fit an M10 bolt?
Because the bolt is to ISO 4017 or ISO 4014, not to the older DIN 933 or DIN 931. At M10, M12, M14 and M22 the ISO standards changed the width across flats: M10 16 mm instead of 17, M12 18 instead of 19, M14 21 instead of 22, and M22 34 instead of 32. The thread is the same; only the spanner changes. Nuts changed in the same way, ISO 4032 against DIN 934. Every other size from M3 to M36 is the same in both.
Can a DIN 933 bolt replace an ISO 4017 one?
For the thread, yes: the size and the coarse pitch are the same. At M10, M12, M14 and M22 the head takes a different spanner, so a ring spanner or socket from the engine-room tool kit may no longer fit. DIN 933, DIN 931, DIN 934 and DIN 912 are withdrawn and replaced by ISO 4017, ISO 4014, ISO 4032 and ISO 4762, but parts to DIN are still widely sold. Give the standard in the request, or the measured width across flats.
Which hex key fits a socket head cap screw?
ISO 4762 and DIN 912 give the same key for every size both list: 2.5 mm for M3, 5 mm for M6, 8 mm for M10, 10 mm for M12, 14 mm for M16, 17 mm for M20, 19 mm for M24, 22 mm for M30 and 27 mm for M36. ISO 4762 has no M18, M22, M27 or M33; DIN 912 gives them keys of 14, 17, 19 and 24 mm. One key can fit two screw sizes, so measure the thread as well.
How do I find the bolt size from the spanner?
Enter the spanner size (AF 19, SW 24, or just 19), or measure across two opposite flats of the head or nut with a caliper. The finder reads a measured width within 0.4 mm as the nearest nominal size and lists the bolts and nuts that take it under ISO and under DIN. A 19 mm spanner fits only a DIN size (M12), an 18 mm spanner only an ISO size (M12).
What should the request include?
The standard and the size (ISO 4017 M12, DIN 934 M10, ISO 4762 M8), the spanner size at M10, M12, M14 and M22, where ISO and DIN differ, the length of a bolt or screw, the property class (8.8, 10.9, 12.9, A2-70, A4-80), the coating and the quantity, with a photograph of the old part beside a ruler.