underpaying withholding penalty?

While calculating our 2023 taxes I discovered that our withholding was $3000 short of the calculated Federal tax.  ( $9500 withholding, $12,500 calculated tax)  Will we be charged an underpayment penalty?  Do we just file and  pay the calculated tax on time then wait and see if the IRS will charge a penalty ?