They calculated that the higher the final score for 'E', the greater the enjoyment of the pint will be.

The complex formula was devised after polling 1,000 volunteers from up and down the country on what conditions they preferred when drinking their pint.

"Following all of our research we developed a formula for the perfect pint," the Daily Mail quoted Dr David Lewis, who calculated the formula at Mindlab on behalf of pub chain Taylor Walker, as saying.

"In this formula E equals the amount of enjoyment you get from the pint.

"So if you perform this calculation 'E' will give you a figure for the amount of enjoyment you're going to experience when drinking that perfect pint," he added.