You need to know the length of the boards in order to calculate it.
Board Foot Calculation:
Number of Pieces times Thickness in Inches times Width in Feet times Length in Feet
Example: (15) - 2x4’s that are 8 feet long = 80 board feet.
A board foot is 1 foot by 1 foot by 1 inch.