How long do you boil 3 eggs for to get them hard boiled?

The best way I have found to cook hard-boiled eggs is to put your eggs in a pot with enough cold water to about 1" above them, turn on high, wait for it to boil, boil two minutes, take the pot off the heat, put a lid on the pot and let sit for 20 minutes, rinse with cold water. They usually turn out perfect.