A lumber calculator totals the board feet, linear feet and cost for a quantity of boards of a given size — the figures you need to price a lumber order or compare boards sold by the board foot. Enter the nominal size, the length and how many, and it adds them up.
Board feet trip people up because they use the nominal size (a 2×4 is figured as 2×4, not its actual 1.5×3.5). This uses the nominal dimensions, the way lumberyards price it, so your estimate matches the quote.
Board feet per board = (nominal thickness in × nominal width in × length ft) ÷ 12. Total = that × the number of boards. One board foot is 144 cubic inches. Lumber is priced by the board foot using nominal sizes, so cost = total board feet × your price per board foot.
Ten 2×6 boards at 8 ft each is 80 board feet (8 bf each) and 80 linear feet; at $3/bf that's about $240.