We fabricated a standard sample for a near-field optical microscope using scanning probe lithography. The sample contains a wedged pattern, which allows the measurement of various sizes within one image. The optical resolution of our near-field optical microscope has been evaluated as 40 nm, which was obtained by measuring the narrowest separable gap width of the wedged pattern. Thus a standard sample containing the wedged pattern enables clear evaluation of the resolution.