Your W-4 tells your employer how much federal income tax to withhold from each paycheck. It doesn't change how much tax you owe — that's set by your income, filing status, deductions and credits. It only changes the timing: withhold too much and you get a refund, too little and you owe at filing.
The modern W-4 no longer uses 'allowances'. Instead it asks about filing status, multiple jobs, dependents, other income and deductions, and lets you specify an extra amount per paycheck. That extra-amount line is the simplest lever if you find you're consistently over- or under-withheld.