Skip to main content

Complete examples

Four complete examples of price grids, step by step and with the calculations (three for the shipyard and one for the marina).

Four typical cases, from start to finish. The numbers are made up for teaching purposes: they are there to explain the mechanism, they are not real prices. Use them as a model, then enter your own values.

For all the examples we will use the same test boat: a motor boat of 12 × 4 m (= 48 m²), 2 diesel engines of 250 HP, inboard transmission (EB).


Example 1 — Service per m² with a “boat type” column (haul-out and launch)

Goal: a haul-out/launch price proportional to the m², growing a little for larger boats, with a surcharge for sailboats and catamarans.

The scale

  • Name: Surface · Code: boat_mq

  • Value expression: boat.length * boat.width

  • Mode: Nearest up (next larger threshold)

  • Bands (maxima): 30, 50, 80, 120 (indexes 1, 2, 3, 4)

The test boat: 12 × 4 = 48. With “nearest up”, 48 falls in the band with maximum 50 → index 2.

The grid

  • Product: Haul-out and launch · Price list: (yours) · VAT: 22%

  • Parameters: eur_mq_cat1 = 10, incr = 0.05 (+5% per category), fattore_vela = 1.15, fattore_cat = 1.25

  • Variant Boat type (code type, expression boat.type_class) with options:

    • MOTORBOAT → “Motor boat”

    • SAIL BOAT → “Sailboat”

    • CATAMARAN → “Catamaran”

  • Generation formula:

ROUND(
  band.max * params.eur_mq_cat1 * (1 + params.incr) ** (band.index - 1)
  * IF(variant.type == "SAIL BOAT", params.fattore_vela,
       IF(variant.type == "CATAMARAN", params.fattore_cat, 1)),
  0)

The calculation for the test boat

“Motor boat” column, band index 2 (maximum 50): 50 × 10 × 1.05^(2-1) × 1 = 50 × 10 × 1.05 = 525.

Result: unit price €525, quantity 1, total €525 net (€640.50 gross with 22% VAT).

Points to note: the scale picks the row (index 2); the 5% increase compounds per category (** (band.index - 1)); the boat type is a column, and the multiplier lives in a parameter chosen with IF on variant.type.


Example 2 — Service per HP with two columns and applicability (engine storage)

Goal: engine storage price based on HP, with a surcharge for more engines and for petrol, excluding outboards.

The scale

  • Name: Engine power · Code: engine_hp

  • Value expression: engine.hp

  • Mode: Nearest up (next larger threshold)

  • Bands (maxima): 100, 200, 400, 500, 1500 (indexes 1…5)

The test boat has 250 HP → “nearest up” picks the band with maximum 400 → index 3.

The grid

  • Product: Winter engine storage · VAT: 22%

  • Parameters: base_cat1 = 80, delta = 0.10 (+10%/category), soglia_hp = 500, eur_hp = 0.5, f2 = 1.4, f3 = 1.8, f4 = 2.4, fattore_benzina = 1.2

  • Variant Number of engines (code engines, expression engine.count) with options 1, 2, 3, 4

  • Variant Fuel (code fuel, expression engine.fuel) with options DIESEL, PETROL

  • Applicability: engine.transmission != "FB" (excludes outboards)

  • Generation formula:

ROUND(
  IF(band.max <= params.soglia_hp,
     params.base_cat1 * (1 + params.delta) ** (band.index - 1),
     band.max * params.eur_hp)
  * IF(variant.engines == "2", params.f2,
       IF(variant.engines == "3", params.f3,
          IF(variant.engines == "4", params.f4, 1)))
  * IF(variant.fuel == "PETROL", params.fattore_benzina, 1),
  0)

These two variants generate 4 × 2 = 8 columns (Cartesian product).

The calculation for the test boat

  • Applicability: the transmission is EB, different from FB → applicable. ✅

  • “2 engines” × “DIESEL” column, band index 3 (maximum 400, below the threshold 500):

Step

Calculation

base

80 × 1.10^(3-1) = 80 × 1.21 = 96.8

× number of engines (2)

× 1.4

× fuel (diesel)

× 1

cell

ROUND(96.8 × 1.4 × 1) = 136

Result: unit price €136, quantity 1, total €136 net.

If the same boat had an outboard (FB), the applicability would be false and no line would be created: you would see it among the “skipped” services.


Example 3 — Time-based service with day bands (yard storage)

Goal: a storage charged per month if the stay lasts between 15 and 30 days, and per day below 15 or above 30.

The scale

It reuses the Surface scale of Example 1 (the test boat is still index 2, maximum 50).

The grid

  • Product: Yard storage · VAT: 22%

  • Parameter: eur_mq_mese = 6

  • Generation formula (the cell holds the monthly price):

ROUND(band.max * params.eur_mq_mese, 0)

For the test boat (index 2, maximum 50): cell = 50 × 6 = €300/month.

  • Quantity expression:

IF(period.days < 15, period.days, IF(period.days <= 30, 1, period.days))
  • Unit price expression:

IF(period.days >= 15 AND period.days <= 30, cell.value, cell.value / 30)

The calculation, as the period varies

Period

Quantity

Unit price

Net total

20 days

1

300 (full month)

€300

10 days

10

10 (= 300 / 30)

€100

45 days

45

10 (= 300 / 30)

€450

You set the period when you generate the quote from the order (“Period from/to” fields). The cell stays the monthly price; it is the quantity and the unit price that turn it into daily or monthly.


Example 4 — Annual marina mooring with seasons

Goal: price the annual mooring of a berth on a contract, with a price per size class and a more expensive summer season.

Unlike the three previous examples (shipyard services on an order), here we price a berth on a contract with a marina grid. The test boat belongs to the marina's size class “Class C” (as does its berth).

The marina grid

From the “Manage price grids” menu press “Create price grid”; on the “What is this price grid for?” screen choose the “Marina” card → “Marina grid”.

In the “Start from a preset” panel, “Marina” tab, press “Use this preset” on “Marina — Annual, by berth class” (it creates one row per size class, billed pro-rata on the days). (Alternatively “Marina — Annual mooring” prices per metre of length.)

In the “Marina berth pricelist” section link the “Marina pricelist”: in our case “Mooring pricelist 2026”, valid from 01/01/2026 and open-ended (no end date, so you reuse it every year changing only the seasons). Leave “Contract type”, “Frequency (duration)” and “Customer segment” as you prefer, set the VAT to 22% and save.

The seasonal rates and the season

From the grid page press “Generate” (it creates one row per size class), then open “Seasonal & temporal rates”. At the top you read “This grid bills per Yearly”.

In the “Prices by size class and season” table, row “Class C”, column “Base (default)”, type 2,000 (the annual net price; it saves by itself).

Then add the “High” season to the Marina pricelist (see Marina pricelist: seasons and prices): a new “High” column will appear in the table. In the “High” cell of the “Class C” row type +20%: under the cell the resulting price immediately appears “= 2,400.00”.

Tip: an empty season cell uses the Base price; a percentage (+20%) or a multiplier (×1.2) recalculates by itself if one day you change the Base.

The result for the test boat:

Step

Value

Size class

Class C

Base tariff

€2,000.00

Season

High (+20%)

Net unit price

€2,400.00

Gross total (VAT 22%)

€2,928.00

Generate the lines as in Generating mooring rates on a contract; the generated line is explained by Why this price?.


Did this answer your question?