An ophthalmic apparatus includes: an input unit configured to obtain corneal incision information that is information on a corneal incision to be formed on a cornea of an examinees eye an imaging device configured to image an examinees eye image and a controller. The controller is configured to calculate first wavefront aberration distribution that is wavefront aberration distribution of the cornea before incision on the examinees eye based on the examinees eye image, obtain incision aberration information corresponding to the corneal incision information calculate second wavefront aberration distribution that is wavefront aberration distribution after formation of the incision based on the first wavefront aberration distribution and the incision aberration information, and output guide information that guides an intraocular lens surgery based on the second wavefront aberration distribution.