We propose a method to quantitatively estimate the error made with a finite basis expansion in time-dependent calculations. This method is applied to the hydrogen atom in intense laser fields and used to compare different basis sets with each other. We also show how to construct a Gaussian basis set suitable for the description of ionization dynamics in intense laser fields.