Select the substitute based on your dish: yellow onion for cooked, white or sweet onion for raw, shallots for dressings, green onions for garnishes.
Prepare the substitute by chopping, mincing, or slicing as recommended; soak white onion if needed to reduce sharpness.
Measure and apply the substitute using the specified ratios to approximate red onion flavor and texture.
Add the substitute according to the cooking method: yellow onion may need extra cooking time; green onions should be added at the end to preserve texture.
Taste and adjust seasoning or quantity as needed for your desired flavor balance.