Soft-boiled: 3-4 minutes for a runny yolk, with the whites just set.
Medium-boiled: 5-6 minutes for a yolk that's mostly set but still a bit soft.
Hard-boiled: 8-10 minutes for a fully cooked, firm yolk.
Start with cold water: Place eggs in a pot and cover with cold water by about an inch.
Bring to a boil: Once boiling, reduce heat to a simmer.
Cook for desired time: Refer to the cooking times above.
Cool immediately: Plunge eggs into cold water to stop cooking and prevent overcooking.