An ophthalmic apparatus capable of obtaining characteristics of a cornea which are suitable for calculating power of an intraocular lens to be injected into an examinees eye which has undergone refractive surgery comprises an input unit which inputs data on a shape of the cornea after refractive surgery, and a calculation unit having a program which calculates post-operative corneal refractive power based on the post-operative corneal shape, wherein the program determines a non-corrected region based on the post-operative corneal shape, estimates a pre-operative corneal shape in a corrected region by calculating an approximate curve from a corneal shape in the non-corrected region, calculates pre-operative corneal refractive power based on the pre-operative corneal shape, calculates correction refractive power in the refractive surgery based on the post-operative corneal shape and the pre-operative corneal shape, and calculates post-operative corneal refractive power based on the pre-operative corneal refractive power and the correction refractive power.