the short answer
A calorie surplus is eating more calories than your body burns in a day, leaving extra energy. To build muscle with minimal fat, most lifters use a modest surplus of about 5 to 15% over maintenance - roughly +200 to +500 calories a day - alongside enough protein and hard training.
Protein is the lever that decides how much of a surplus becomes muscle. A 2018 meta-analysis of 49 studies (1,863 participants) in the British Journal of Sports Medicine found that protein intakes beyond 1.62 g/kg/day produced no further resistance-training gains in fat-free mass; its authors, Morton and colleagues, concluded that "dietary protein supplementation significantly enhanced changes in muscle strength and size during prolonged RET in healthy adults" (RET meaning resistance exercise training).
This article is general educational information for coaches and lifters, not medical or dietary advice. Individual needs vary, so adjust based on real progress and consult a qualified professional for personal guidance.