Help

How the numbers are calculated, and how to write your own filters and columns.

How the numbers work

Buy is the latest instant-buy price (the price at which sell offers are being filled) and Sell is the latest instant-sell price. To flip, you buy at the sell price and sell at the buy price.

Margin is buy − tax(buy) − sell. The Grand Exchange charges 2% on each sale, rounded down and capped at 5,000,000 gp, so items under 50 gp are not taxed. ROI is margin ÷ what you paid.

Potential profit is margin × buy limit: the most you could make per four hours if every offer filled. Margin × volume uses the last 24 hours of trades instead, which is a better guide for items you can't buy out in one go. All of this updates every minute while the page is open.

Filters

Filters narrow the table. The Simple builder uses dropdowns (property, comparison, value) and shows how many items match as you type. The Advanced builder takes an expression that returns true or false, for example columns.roi > 0.02 and item.volume > 1000. Saved filters live in your browser and can be toggled on and off from the panel above the table.

An expression can carry an action label such as “Flip” or “Alch”; when it matches, the label is shown in an Action column. It can also name a highlight item: the table then shows that other item's row instead, which is handy for recipes (match on the ingredient, display the product).

Is it profitable to string gold amulets?
(getItem("Gold amulet", "low") - (getItem("Gold amulet (u)", "high") + getItem("Ball of wool", "high"))) > 0

Custom columns

A column is an expression evaluated for every row. Give it a name, a type (number, string or boolean) and, for numbers, a format: currency (shown with coin icons), percentage or plain decimal. Columns can reference each other through columns.<id>, and headers can be dragged to reorder.

Margin as a share of the 24h average
columns.profit / item.avg24h

Expression reference

Expressions use JavaScript-like syntax: + - * /, comparisons > < == !=, and, or, and cond ? a : b.

FunctionMeaning
tax(price)GE tax on one sale at price: 2%, rounded down, capped at 5m.
getItem(id | "name", "property")Another item's value, e.g. getItem("Nature rune", "low"). The property is required.
round(x), floor(x), ceil(x), abs(x), min(a, b), max(a, b)The usual maths helpers.
timeseries(item.id, '24h')Daily history for moving averages (loads in the background; the cell shows a spinner until it arrives).

Item properties

VariableMeaning
item.idItem ID
item.nameItem name
item.memberstrue for members-only items
item.limitGE buy limit per 4 hours
item.highalchHigh alchemy value
item.lowLatest instant-sell price (what you buy at)
item.highLatest instant-buy price (what you sell at)
item.lowTime / item.highTimeUnix time of those trades
item.volumeTrades in the last 24 hours
item.avg5m / avg1h / avg6h / avg24hAverage buy price over that window
item.highVol1h, item.lowVol24h, …Volume at the high / low price per window
item.favoritetrue if you favourited the item

Built-in columns

ColumnIDFormula
ROI %columns.roi(((item.high - tax(item.high)) - item.low) / item.low)
Margincolumns.profitround((item.high - tax(item.high)) - item.low)
Potential profitcolumns.potentialProfititem.limit * round((item.high - tax(item.high)) - item.low)
Margin × volumecolumns.marginVolumeitem.volume * round((item.high - tax(item.high)) - item.low)
Alch margincolumns.alchMarginitem.highalch > 0 ? round(item.highalch - item.low) : 0

Where the data comes from

Prices, volumes and item details come from the RuneScape Wiki real-time prices API, which aggregates trades reported by RuneLite users. Prices for items that trade rarely can be hours old; check the “last trade” time on the item page before committing a large stack.

Found a bug or want a feature? Get in touch, or start from the flipping table.