5W-30 and 10W-30 have the exact same 30 viscosity when the oil is warm. The 5W and 10W numbers are only its thinner viscosity when the oil is cold, it thickens to 30 when it warms up. The lower viscosity for when the oil is cold helps it flow better/faster when a heavier viscosity would flow too slowly.