The electromagnetic-field distribution in a finite one-dimensional photonic crystal is studied using the numerical solution of Maxwell’s equations by the transfer-matrix method. The dependence of the transmission coefficient T on the period d (or the wavelength λ) has the characteristic form with M–1 (M is the number of periods in the structure) maxima with T = 1 in the allowed band of an infinite crystal and zero values in the forbidden band. The field-modulus distribution E(x) in the structure for parameters that correspond to the transmission maxima closest to the boundaries of forbidden bands has maxima at the center of the structure; the value at the maximum considerably exceeds the incident-field strength. For the number of periods M ~ 50, more than an order of magnitude increase in the field amplification is observed. The numerical results are interpreted with an analytic theory constructed by representing the solution in the form of a linear combination of counterpropagating Floquet modes in a periodic structure.