materials and labor may be allocated based on past experience, or standard costs. where materials or labor costs for a period fall short of or exceed the expected amount of standard costs, a "variance" is recorded. such variances are then allocated among cost of goods sold and remaining inventory at the end of the period.