What is utility?
A measure of the satisfaction or benefit a person gets from a choice, used to compare options that cannot be priced directly.
Utility diagram example
Utility is the economist's word for the value a person gets from a good, an action or an outcome. It lets different things be compared on one scale, even when they have no price. It matters because choices are explained by what people expect to gain, not by cost alone.
How it works
Utility is personal and cannot be observed directly. It is inferred from choices: if someone picks A over B, A has higher utility for them. It depends on tastes, circumstances and how much of the thing they already have, which is why additional units usually add less.
Under uncertainty, people compare expected utility, which weighs the benefit of each outcome by its probability. Because most people dislike losses more than they like equal gains, utility explains risk aversion and insurance. Because utility cannot be measured directly, economists often use ranking and not numbers. What matters is that a person can say which option they prefer, and from many such choices a pattern of preferences can be described and used to predict demand.
Example
Say a commuter can take a train costing 6 that takes 30 minutes, or a bus costing 2 that takes 60 minutes. If the commuter values an hour of time at 12, the train costs 6 + 6 = 12 in money and time and the bus costs 2 + 12 = 14. The train gives the higher utility even though it is more expensive. For someone who values an hour at 3, the bus wins. Illustrative numbers only.
In a game economy, players weigh a sword's usefulness against its price, and designers shape utility so that more than one item feels worth buying.
How to model it in Machinations
Use Registers to compute the net benefit of each option from its price and its payoff, and a Gate that sends buyers to the option with the highest value through a State connection. Make the values Levers, Play, and chart how many pick each option.
See utility in a system you can Play
Build the rules in a Machinations diagram, change a value and Play it to watch how the system responds.