An apparatus for estimating a biological component may include: a spectrometer configured to measure a background spectrum from an object; and a processor configured to generate a virtual spectrum as training data by combining the background spectrum with a virtual biological component signal including noise, and generate a prediction model for estimating the biological component based on the training data.