To find the total number of crackers in the box, you can set up the equation based on the information given:
Let \( x \) be the total number of crackers in the box.
According to the problem, 5 wheat crackers represent 5% of the box. This can be expressed mathematically as:
\[ 5 = 0.05x \]
To solve for \( x \), divide both sides of the equation by 0.05:
\[ x = \frac{5}{0.05} \]
Calculating that:
\[ x = 100 \]
Thus, there were 100 crackers in the box.