Allocative efficiency occurs only at that output where:

the combined amounts of consumer surplus and producer surplus are maximized.