In Class 11 physics, the formula for force is derived from Newton's second law of motion, which states that force (F) is equal to the product of mass (m) and acceleration (a), i.e., F = ma.