In the design of experiments and analysis of variance, a main effect is the effect of an independent variable on a dependent variable averaged across the levels of any other independent variables.
In experimental design and analysis of variance, a main effect is the impact of one independent variable on a dependent variable when considering all other independent variables as constant.