I would use a centimetre.
Centimeters/inchesThe most appropriate metric unit for the purpose of measuring the length of a pencil would be centimetres.
you would use gallons
inches or centimieters
Centimeters would be most convenient metric unit for the diameter of a dinner plate.