Unit of measure calculator

For the times I need to work out the breakdowns for how much quantities cost, I've put together this small tool.

The first version was quickly pieced together as a proof of concept which was in use for several months. When I revisited the code to expand the options, I decided to completely rewrite it to take advantage of the template rendering of Underscore.js and standardised the form elements with Bootstrap 3.

View on CodePen