A technique that can contribute to improvement of analysis accuracy in analysis processing concerning an image forming apparatus is provided. An image forming apparatus that forms, on a sheet, a test pattern formed by a color obtained by mixing toners of plural colors, scans a test pattern image formed on the sheet with a color sensor, and performs predetermined image quality control processing on the basis of information scanned, the image forming apparatus including an analysis-information forming unit that forms predetermined information used for an analysis concerning the image forming apparatus on a sheet.