From a post on the forums:
λ = dsin(arctan(S/L)),
where L is the distance from the grating to the wall, S is the distance between orders, d is the distance between the grating lines, and lambda is the wavelength. So you'll need to know precisely the distance from your grating, off your first...