Rice is the dish people are most embarrassed about getting wrong. It sticks, it burns, or it collapses into porridge. Three things fix it: measure the water, rinse the grains, and leave the lid on after the heat goes off.
This walkthrough follows Tasty's breakdown, a video with over 13 million views, and finishes with a pilaf upgrade that turns weeknight rice into something worth serving on its own.
The water ratio, by rice type
The 2:1 rule you half-remember is only right for one kind of rice. Long-grain white is 1.5 parts water to 1 part rice. Brown needs roughly 2:1 and about twice the time. Jasmine and basmati sit near 1.5:1 but want a longer soak. Short-grain sushi rice is closer to 1.1:1 because you want it sticky.
Measure by volume with the same cup for both, and the ratio holds no matter how much you are making.
Rinse until the water runs clear
Dry rice is coated in loose surface starch from milling. Cook it in and the grains glue together. Rinsing takes ninety seconds: cover the rice with cold water, swirl it with your hand, pour off the cloudy water, repeat two or three times until it runs nearly clear.
The exception is any rice you want sticky on purpose, and enriched American white rice where rinsing washes off added vitamins. For everything else, rinse.
Do not lift the lid
Bring it to a boil, stir once, drop the heat to its lowest setting and cover. Every time you peek you release the steam doing the cooking, and the top layer ends up crunchy while the bottom scorches. Set a timer and walk away: 18 minutes for white, 40 to 45 for brown.
The rest is not optional
Off the heat, lid still on, 10 minutes. The grains at the bottom are waterlogged and the ones on top are dry, and resting lets the moisture even out through the pot. Fluff with a fork, never a spoon, which crushes the grains against each other.
What went wrong
Mushy. Too much water, or you stirred it during cooking. Stirring rubs starch off the grains, which is how you make risotto and how you ruin plain rice.
Crunchy in the middle. Heat was too high, so the water boiled off before the grains absorbed it. Lowest burner setting, always.
Burnt on the bottom. Thin pan. A heavy-bottomed pot with a tight lid solves most rice problems on its own.
Sticky and clumped. You skipped the rinse.
Other ways to cook it
For hands-off rice every time, a rice cooker removes the ratio guesswork entirely. Brown rice needs its own timing, and jasmine has a slightly different soak.
For sticky rice, glutinous rice is steamed rather than boiled, and it is a genuinely different method. And day-old rice is the only rice that makes decent fried rice, because fresh rice steams in the wok instead of frying.