Extension form payment

I know I owe federal and state. Do I have to pay to get an extension? If I have to pay, how much? I can have the full amount owed on the 21st of April , but not on the 15th.