Find the scale factor
Divide the desired yield by the original yield. A recipe for 4 portions scaled to 6 has a factor of 1.5. Multiply each ingredient amount by that factor and keep its unit unchanged.
Keep the ingredient list organised
Enter one ingredient per row with an amount and a unit. The name is a label, so include useful preparation details such as chopped or drained. Ingredients written as “to taste” need your own judgement instead of a numeric conversion.
A bigger batch needs a method review
Quantity arithmetic does not choose a pan, set an oven temperature or calculate cooking time. Read the original method and decide whether to divide the recipe into batches or use a suitable tested larger version.
Deal with awkward portions deliberately
A scaled ingredient may produce a fraction that is hard to measure. Display the decimal accurately and make any rounding decision visible. Where a recipe provides a weight, scaling that weight is often easier than working with small volume fractions.