This paper proposes analytical Fourier series solutions (based on the Airy stress function) for the local deflection and subsurface stress field of a two-dimensional graded elastic solid loaded by a pre-determined pressure distribution. We present a selection of numerical results for a simple sinusoidal pressure which indicates how the inhomogeneity of the solid affects its behaviour. The model is then adapted and used to derive an iterative algorithm which may be used to solve for the contact half width and pressure induced from contact with a rigid punch. Finally, the contact of a rigid cylindrical stamp is studied and our results compared to those predicted by Hertzian theory. It is found that solids with a slowly varying elastic modulus produce results in good agreement with those of Hertz whilst more quickly varying elastic moduli which correspond to solids that become stiffer below the surface give rise to larger maximum pressures and stresses whilst the contact pressure is found to act over a smaller area.