Stock & sales

Selling by the meter and kilogram: how do you track stock with decimal quantities?

Stock tracking when selling by the meter or kilo: buy 500 meters, sell 20.5 and 479.5 remain. Product unit, decimal quantities at the register and returns, step by step.

  • No card details required
  • No setup fee
  • Runs in the browser

The hardware store sells cable by the meter, the fabric shop sells fabric by the meter, the deli sells cheese by the kilo and the home improvement store sells hose by the meter. These products share one problem: most software assumes the quantity is a count of units. You buy 500 meters of cable, cut 20.5 meters for a customer, and the register records either 20 or 21. A few weeks later the reel on the shelf and the number in the system no longer match. In this article we explain how to define products sold by measure in BalanceBey, how to sell them at the register with decimal quantities and how stock stays accurate meter by meter. At the end we also spell out where decimal quantities cannot be used yet.

Why does unit-counted stock go wrong for products sold by measure?

In unit logic, every sale is one whole unit: a bottle of water, a pack of pasta. With products sold by the meter or kilo, the quantity changes with what the customer wants: 20.5 meters of cable, 0.75 kilos of white cheese, 1.25 kilos of tomatoes. If the software only accepts whole numbers, the cashier either rounds the quantity or enters the product as "1 unit" and changes the price by hand.

Both paths lead to the same result. Rounding leaves a small difference on every sale, and the difference adds up: recording half a meter too much or too little for ten customers a day means unexplained meters on the reel at the end of the month. Changing the price by hand breaks the sales report, because the system does not know you sold 20.5 meters; it knows you sold one unit at an odd unit price. You cannot read from these records how fast each product turns over or where the profit comes from.

The right solution is to define the product's unit of measure correctly once and work in that same unit from purchase to sale to return. The purchase should be 500 meters, the sale 20.5 meters and the remainder 479.5 meters.

Choose the right unit on the product card

Everything starts on the product card. When adding a market product, you enter the product's unit of measure in the "Unit" field. The field is free text, but a suggestion list opens as you type: Piece, Kg, Gr, Lt, Ml, Mt, M2, M3, Cm, Ton, Package, Case and so on. Choosing Mt for cable, Kg for cheese and Lt for liquids is enough.

When the unit is a unit of measure, that is, when a value such as meter, kilogram, gram, liter, milliliter, square meter, cubic meter, centimeter, ton or hour is chosen, decimal quantities are enabled for that product in sales and stock. For units such as piece, package or case the whole-number rule stays in place; nobody accidentally sells 2.5 bottles of water. The info icon next to the field briefly reminds you of this rule.

On the same form, the sales price is entered per unit: the VAT-inclusive price of one meter of cable or one kilo of cheese. The "Latest purchase price (VAT excluded)" field is also a per-unit cost. For products weighed on a scale there is also a "Weighed product (scale)" option and a "Scale PLU code" field; a product marked as weighed is sold with a decimal quantity whatever its unit says.

BalanceBey Add market product form: name Electrical Cable 3x2.5 mm, sales price 42.50, unit Mt, latest purchase price 28.40, barcode, scale PLU code and the Weighed product (scale) option
The add market product form. A product with Mt in the Unit field is handled with decimal quantities at the register and in stock; the price and purchase cost are per meter. (Real screenshot taken with demo data.)

Selling with decimal quantities at the register

On the sales screen, the fastest way to add a product sold by measure to the cart is the multiplier prefix. In the barcode field you type the quantity first, then an asterisk, then the barcode: type "20.5*" and scan the barcode, and the cable goes into the cart as 20.5 meters. The prefix also works with the product name; typing "1.25*tomato" is enough as well. Either a comma or a period can be used as the decimal separator.

Each line in the cart appears with its own unit. In the example in the screenshot, the cable is listed as "20.5 Mt", white cheese as "0.75 Kg", tomatoes as "1.25 Kg" and cola as "2 Pcs"; the unit price is written as "₺42.50 / Mt" or "₺289.90 / Kg". The line amount is quantity times unit price: 20.5 meters times 42.50 TL comes to 871.25 TL. Right after an item is added, the strip at the top shows the product's name, quantity and amount; if something was scanned by mistake, "Undo" removes the last addition.

The minus and plus buttons on the line change the quantity one step at a time, and a value such as 20.5 can be typed directly into the quantity box. If a decimal value is typed into the same box for a product sold by the unit, the system does not accept it; when a decimal quantity is scanned with the multiplier prefix, the warning "The quantity for this product must be a whole number" appears.

BalanceBey sales screen cart: lines for 20.5 Mt of electrical cable, 0.75 Kg of white cheese, 1.25 Kg of tomatoes and 2 pcs of cola, unit prices per meter and per kilo, and the total due
A mixed cart on the sales screen. Products sold by the meter and kilo are entered with decimal quantities and the unit-counted product with a whole number; each line shows its unit price in its own unit. (Real screenshot taken with demo data.)

The quantity window on touchscreens and protection against misreads

On a register without a keyboard, the "Quantity" button or the F4 shortcut is used to change the quantity. The window that opens shows the selected line's name and unit in its title, for example "Quantity (Mt)". On the keypad below, the comma key works only for products sold by measure; pressing it for a unit-counted product changes nothing. The window targets the selected line or, if no line is selected, the last line added; if there is no target line in the cart, it opens as a quantity multiplier for the next product.

The sneakiest error with decimal quantities is the thousands separator. When "1,500" is typed, it is unclear whether it means one and a half kilos or one thousand five hundred grams. The quantity window does not accept such ambiguous entries and, with the warning "Enter the quantity without a thousands separator", asks you to type it as 1500 or 1.5. The same rule applies to returns: when part of a line is being returned and the quantity entered looks like thousands grouping, the request is not sent until a box confirming that it is a decimal quantity is checked.

These small rules do not slow down the register, but they eliminate the end-of-month question "did we really sell fifteen hundred kilos of cheese in this sale?"

BalanceBey sales screen quantity window: title Quantity: Electrical Cable 3x2.5 mm, 20.5 in the Quantity (Mt) field, a numeric keypad with a comma key, and Cancel and Apply buttons
The quantity window opened with F4. The title shows the product's unit; the comma key works only for products sold by measure. (Real screenshot taken with demo data.)

Stock: the same unit from purchase to remaining quantity

When the sale is completed, the quantity sold is deducted from branch stock in the same unit. Sell 20.5 meters from 500 meters of cable stock and 479.5 meters remain; if another 0.25-meter sale is made the next day, it drops to 479.25 meters. Stock records store decimal quantities as they are, without rounding.

The same precision applies to incoming goods. Decimal quantities can be entered in the "Available quantity" field on the stock card, in the transfer form between branches and in the quick barcode goods receipt window. That way a 250-meter reel or a 12.4-kilo wheel of cheese from the supplier enters stock at its full value. Precision is three decimal places, which means one gram per kilo and one millimeter per meter.

The critical stock threshold, on the other hand, is defined as a whole number. For cable it is enough to say "warn me when it falls below 50 meters"; a threshold of 49.5 makes no practical difference. Quantities can also be entered as decimals on purchase invoice lines, and the unit code is written on the line, so the purchase document speaks the same unit as stock.

Where decimal quantities cannot be used yet

Decimal quantities are not yet available on every screen, and we want to say so plainly. Table bill lines on the restaurant and cafe side and wholesale order lines currently work with whole-number quantities. To enter half a portion or a 2.5-kilo order in these two flows, a separate product has to be defined. For businesses that sell at the register, such as markets, hardware stores, delis and greengrocers, the sales screen, stock and invoices fully support decimal quantities.

One more note on scales: weighing instruments are subject to legal metrology regulations, and a scale used in commercial sales must be inspected and stamped. BalanceBey does not replace the scale; it lets you carry the weighed quantity into the sale in the correct unit. Keep track of your scale's stamp status with your own authorized service provider.

Finally, the cart summary at the top of the sales screen shows the total quantity as a single number next to the item count in a mixed cart. Because meters and kilos are different units, this total is only indicative; the quantities and amounts on each line are what count.

Key takeaways

  • Choosing a unit of measure such as Mt, Kg or Lt on the product card enables decimal quantities for that product at the register and in stock.
  • Typing "20.5*barcode" at the register adds the product to the cart as 20.5 units; the F4 quantity window does the same job on a touchscreen.
  • The quantity sold is deducted from stock in the same unit: sell 20.5 meters out of 500 and 479.5 meters remain.
  • Ambiguous entries such as "1,500" are rejected; the quantity is typed as 1500 or 1.5.
  • Table bill and wholesale order lines currently work with whole numbers.

Sources

  1. BalanceBey sales screen, product card and stock screens (November 2026 release) The images come from this release itself and were taken with sample products, without real customer data.
  2. BalanceBey development records: products sold by measure and decimal quantities The list of units of measure, three-decimal precision, the multiplier prefix, the ambiguous quantity check and the whole-number limit on table bill and wholesale order lines are based on the rules in this release.
  3. Regulation on the Stamping of Measures and Measuring Instruments Inspection and stamping of weighing instruments in commercial use.
Which units allow decimal quantities?

Units of measure such as kilogram, gram, liter, milliliter, meter, centimeter, square meter, cubic meter, ton, hour and minute. For units such as piece, package and case, the quantity stays a whole number. A product marked as weighed can always be sold in decimals.

Should I enter the price per meter?

Yes. The sales price and latest purchase price on the product card are per unit. Enter the price of one meter for cable and one kilo for cheese; the register calculates the line amount by multiplying by the quantity.

How many decimal places can I enter?

Up to three decimal places. That means a precision of one gram per kilo and one millimeter per meter.

Can I accept a partial return of a product sold by measure?

Yes. In a line return, the quantity to be returned can be entered as a decimal. If the quantity entered looks like thousands grouping, you are asked to confirm that it is a decimal.

Was this article helpful?

Loading ratings…

Rate this article

Comments

    Write a comment

    You can comment under your name or a nickname. We don't ask for your email. Comments are published after our team approves them.