There are no extensions for IRA contributions, even if you have an extension to file your tax return.
Most people treat IRA contributions like they're paying a bill. They should think about it as paying themselves.
A Roth 401(k) or a Roth IRA takes the uncertainty out of predicting the future.