UZYTAK Material Calculator

By UZYTAK

0+ active installationsVersion 1.0.0

Room material calculator: paint, tiles, flooring, drywall, plaster, skirting. Visitors get a shopping list in whole packs. 10 languages.

Description

Give the visitors of your renovation company or building-materials shop a calculator they will actually use.
They type the size of a room, the doors and the windows — and get a shopping list rounded to whole packs:

  • Paint — coats and coverage, and the cheapest mix of cans (1 l, 2.5 l, 5 l, 10 l or your own sizes).
  • Tiles — tile size, joint, m² per box: pieces and boxes, with cutting waste.
  • Laminate and floor panels — m² per pack; straight, diagonal or herringbone laying sets the usual waste.
  • Drywall — standard EU board sizes or your own, one to three layers, plus rough screws and metal profiles.
  • Plaster and levelling compound — consumption per mm, thickness and bag size.
  • Skirting boards — room perimeter minus doors, in pieces of your length.

The calculator handles several rooms with one combined shopping list, L-shaped rooms, bays and alcoves,
and walls minus doors and windows. Visitors can print the list or copy it into a message.

It is the same calculation engine as the UZYTAK Materials app for Android, used by tradespeople on site.

Made for European sites

  • Metric units and EU pack sizes.
  • 10 languages, visitor side and admin: Deutsch, English, Español, Français, Italiano, Nederlands, Polski, Svenska, Русский, Українська.
    The calculator follows the language of your site (also on multilingual sites) or a language you choose.
  • Decimal comma or point — both work.

Fits any theme

  • Block for the block editor and the [uzytak_materials] shortcode for Elementor, Divi, WPBakery, Beaver Builder, classic editor and widgets.
  • Light, dark or automatic colours and your own accent colour.
  • Its own clean styles that site themes do not break; works in narrow columns and on phones.
  • Keyboard and screen reader friendly.

Private and light

  • Runs in the visitor’s browser. No account, no API key, no external requests, no cookies, no tracking.
  • The last calculation is kept in the visitor’s own browser, so a reload does not lose it.
  • Scripts load only on pages that show the calculator (about 18 KB gzipped).

Shortcode examples

[uzytak_materials] — all calculators, settings from Settings → Material Calculator.

[uzytak_materials materials="paint"] — only the paint calculator.

[uzytak_materials materials="tiles,skirting" rooms="single"] — chosen materials, one room.

[uzytak_materials title="How much paint do I need?" theme="dark" accent="#c2410c"] — own heading and colours.

Attributes: materials (paint, tiles, panels, drywall, plaster, skirting), title, theme (light, dark, auto),
accent (hex colour), lang (de, en, es, fr, it, nl, pl, sv, ru, uk), rooms (single), shape (no).

All results are estimates. Visitors are reminded to check coverage, pack sizes and waste in the manufacturer’s data.

Source code

All code of this plugin is included in readable form. The calculator lives in assets/core/uzm-calc.js, assets/core/uzm-widget.js and assets/core/uzm-widget.css; the translations of the calculator are plain readable JSON in assets/core/i18n/uzm-.js. The files ending in .min.js / .min.css are the same files minified with esbuild (npx esbuild uzm-widget.js --minify --outfile=uzm-widget.min.js); WordPress loads the readable files when SCRIPT_DEBUG is on. No other build tools are used.

Installation

  1. Install the plugin from Plugins → Add New, or upload the zip, and activate it.
  2. Optional: choose materials, colours and language in Settings → Material Calculator.
  3. Add the “Material calculator” block to a page, or paste [uzytak_materials] into any editor.

FAQ

Does it send any data anywhere?

No. Everything is calculated in the visitor’s browser. The plugin makes no external requests and sets no cookies.

Can I show only one calculator, for example only tiles?

Yes. In the block settings tick only the materials you want, or use [uzytak_materials materials="tiles"].

Does it work with WPML, Polylang or TranslatePress?

Yes. With the language setting “Language of the site” each language version of a page shows the calculator in its language.

Imperial units?

Not yet. The calculator is made for European metric sizes (m, mm, m², litres, kg).

Why are drywall screws and profiles marked as rough?

They are a typical guide (about 25 screws per m² per layer; about 2 m of profile per m² of wall and 3.2 m per m² of ceiling). Follow the system maker’s layout for exact numbers.

Changelog

1.0.0

  • First release: paint, tiles, floor panels, drywall, plaster and skirting calculators, several rooms, print and copy, 10 languages, block and shortcode.