This calculator uses the following formula:
Area = Length * Width
The cases that you need are the area found by the calculator and then rounded up to the next whole number. It is always better to have some left, then to run out in the middle. It is also a good idea to buy 10% extra for trim and "mistakes".