A chocolate bar is a chocolate confection in an oblong or rectangular form, which distinguishes it from bulk chocolate produced for commercial use or individually portioned chocolates such as pastilles, bon-bons, and truffles. In most of the English-speaking world, chocolate bar also refers to a typically snack-sized bar coated with or substantially consisting of chocolate but containing other ingredients.
A chocolate bar made exclusively from chocolate contains some or all of the following components: cocoa solids, cocoa butter, sugar, and milk. The relative presence or absence of these define the sub-classes of chocolate bar made of dark chocolate, milk chocolate, and white chocolate. In addition to these main ingredients a chocolate bar may contain flavorings such as vanilla and emulsifiers such as soy lecithin to alter its consistency. While vanilla is the most common flavoring, many other flavors are available, including mint, orange, and coffee.