DevEx & Business

Average session time: the graph that shows at which minute a new player leaves

Session time is total time divided by the number of sessions — and on its own it does not say where the problem is. The first session retention graph shows how many are still playing X minutes after joining.

by Gustavo Cantino9 min readIntermediate

Produced with AI from the sources cited below and checked by automated verification against those same sources. After it was published, the editor read the full text. · Reviewed by Gustavo Cantino, 11/24/26 Editorial Policy

Typographic plate with the DevEx & Business category in large type, the intermediate level below it, and a field of vertical lime green bars on a dark background.

Average session time is the metric everybody looks at and almost nobody manages to use. It goes up, it goes down, and the number alone does not say what to do.

There is a graph on the same page that does — and it is far less well known.

The problem

The Engagement page measures how engaging the game is for users. The route: in the Analytics menu, the Engagement option. It applies to an individual or a group game.

The main metric has a literal definition: average session time is the total time users spend in the game divided by the number of sessions.

That formula is why it is hard to use. It mixes two populations that behave in opposite ways: whoever joined, looked and left in forty seconds, and whoever stayed two hours. The average of the two describes neither.

And there is a context that makes the first population enormous. Since the friction of joining and leaving is very low on Roblox, the first impression is extremely important — the whole platform is designed so that switching games costs one click.

The official recommendation for improving the metric is about efficiency and effectiveness in engaging the user. It is not about holding anybody: it is about getting quickly to what matters.

Step by step

The documentation organises the strategies into three fronts.

Front 1 — get the player to the fun immediately.

The first strategy has a declared target: ensuring the user has fun in the first five minutes after joining. The question to answer is what makes your game fun and different from the others, and that has to be communicated in that interval.

The second is the most direct: get the user into the action as soon as possible and avoid a long tutorial. The reason is written down — locking all the fun behind a long tutorial makes the user get bored and leave.

The recommended alternative is contextual, action-based teaching: a short, discreet instruction when the player encounters a new feature, a tip about an item's purpose in the shop. Learning while playing, rather than before playing.

And it is worth giving starting items and currency, so the player enjoys the core loop as soon as possible.

The third strategy is social: many successful Roblox games treat socialising as a central part of the design, and the recommendation is to support group play and social interaction wherever possible — removing unnecessary barriers to it.

Front 2 — give a reason to come back.

First, clear objectives. The official examples are concrete: completing a pet collection, reaching the highest rank, getting a rare item. And they have to exist in three horizons — short, medium and long term.

Second, a progression system. It gives a clear path to the objectives and makes the content last longer — which has a production benefit the documentation names without hedging: it gives you time to produce more content before users unlock what exists.

And it comes with a lock: progression cannot lock away the fun. There has to be enough content available right at the start for a new user to enjoy the first session.

Front 3 — performance. Testing on several devices and platforms, limiting excess texture and mesh, and building a community that helps identify bugs and crashes.

Why the three fronts appear together on the same page. At first sight, performance does not belong on a list of design recommendations — it looks like an engineering subject. The reason it is there is that all three share the same measured effect: how long the player stays.

A long tutorial, a game with no objective and a game that crashes produce the same curve. And that is why looking only at the average is not enough to choose where to work: three different causes, with completely different costs and solutions, reach the dashboard as the same smaller number.

Separating which of the three is acting is the work, and it is what the first session retention graph begins to allow — because a performance problem and a tutorial problem do not show up in the same minute.

The artifact

The module below measures where the session's time is spent, by area of the game.

It exists because the dashboard delivers the average's numerator and denominator, and nothing about the composition. Knowing that the average session lasts eight minutes is different from knowing that five of them are tutorial.

The questions it answers are the ones that change decisions: what percentage of the first session does the tutorial eat? Is the new area that took a month to build ever visited? Does the lobby get more time than the game?

That last one is usually the most uncomfortable to discover.

Before the mistakes, it is worth naming what makes this page different from the other analytics pages: it is the only one that puts a metric and a design recipe in the same place. The strategies listed are not loose game design theory — they are the actions Roblox points at as capable of moving the number the same page shows.

That suggests a way of using it: reading the strategy list as a list of testable hypotheses, not as general advice. Each of them predicts an effect on the graph, and the graph compares periods. Applying one at a time is what lets you know which worked.

Common mistakes

Reading the average without the distribution. It is the mistake that makes the metric useless. Since average time combines whoever left in forty seconds with whoever stayed two hours, a fall in the average can mean opposite things: more people leaving early, or fewer people staying a long time. The actions for the two are different.

The way out is on the same page, and it is the graph almost nobody opens: first session retention, which shows how many new users are still playing X minutes after joining for the first time.

That graph answers what the average does not. It does not give a number — it gives a curve, and the curve's shape says where the problem is. A sharp drop in the first seconds is a first-impression problem; a drop at minute five is a tutorial or pacing problem.

And it compares the current period with the previous one, which turns the graph into a regression detector. The example the documentation gives is exactly that use: the percentage of new users still playing after 5 minutes falls considerably from one week to the next — and the suggested investigation starts with friction introduced in recent updates. Did somebody add a step? Did something at the start change?

A tutorial that grows by itself. Nobody decides to make a long tutorial. It grows: each new system gains an explanatory step, and three years later the game has twelve minutes before the fun. Since each step was added in isolation, nobody notices the total — only the graph notices.

Progression that locks the start. It is the opposite mistake to the tutorial one and it produces the same result. A well-designed progression system makes content last; a badly designed one makes the first session poor. The documentation's lock exists precisely for that.

Treating performance as somebody else's subject. Performance is on the engagement page, and not by accident: a game that crashes is a game with short sessions, and the cause appears in no design metric.

Comparing with other games' averages. Session time varies enormously by genre: a short obstacle course and a long-term simulator have sessions of incomparable lengths, and neither is wrong. The comparison that informs is with yourself last week — which is exactly what the official graph already does by default.

Next step

Today's exercise has two parts and takes twenty minutes.

The first: open the first session retention graph and note the minute where the curve falls most. That minute is your problem, and it is specific enough to investigate — you know what is happening in the game at that moment.

The second: join your own game with a stopwatch and time how long it takes you to do, for the first time, the thing the game exists to do. Compare with five minutes.

The two parts usually point at the same place. And when they do, the action is the one the documentation recommends: cutting a step from the start, turning an explanation into a contextual tip, and giving the new player an item that lets them enter the core loop before understanding everything.

Sources

How we correct mistakes

Ready-to-use artifact

Measuring where the session's time goes, by area of the game (ServerScriptService)
lua
-- ServerScriptService: where the session's time is SPENT.
--
-- The dashboard gives the average session time. It does not say on WHAT
-- the player spent that time -- and that is the information that changes
-- decisions.
--
-- This module splits the session into areas and measures how much time
-- each one received. The result answers questions the average hides:
--   - what percentage of the first session does the tutorial eat?
--   - is the new area that took a month to build ever visited?
--   - does the lobby get more time than the game?

local Players = game:GetService("Players")

local Time = {}

-- player -> { area = seconds }
local accumulated = {}
-- player -> { area = string, since = number }
local current = {}

local function close(player, now)
	local a = current[player]
	if not a then
		return
	end
	accumulated[player] = accumulated[player] or {}
	local area = a.area
	accumulated[player][area] = (accumulated[player][area] or 0) + (now - a.since)
end

-- Call this when the player ENTERS an area. Passing the same area twice
-- in a row does nothing -- which lets you call it without fear of
-- duplicating in code that fires more than once.
function Time.entered(player, area)
	local now = os.clock()
	if current[player] and current[player].area == area then
		return
	end
	close(player, now)
	current[player] = { area = area, since = now }
end

function Time.report(player)
	close(player, os.clock())
	local a = current[player]
	if a then
		current[player] = { area = a.area, since = os.clock() }
	end

	local rows, total = {}, 0
	for _, s in accumulated[player] or {} do
		total += s
	end
	if total <= 0 then
		return "no time measured"
	end

	for area, s in accumulated[player] do
		table.insert(rows, { area = area, s = s })
	end
	table.sort(rows, function(x, y) return x.s > y.s end)

	local out = {}
	for _, l in rows do
		table.insert(out, string.format(
			"%-18s %5.0fs  %3.0f%%", l.area, l.s, l.s / total * 100))
	end
	return table.concat(out, "\n")
end

-- The session total, which is the numerator of average session time.
function Time.totalFor(player)
	close(player, os.clock())
	local a = current[player]
	if a then
		current[player] = { area = a.area, since = os.clock() }
	end
	local total = 0
	for _, s in accumulated[player] or {} do
		total += s
	end
	return total
end

Players.PlayerAdded:Connect(function(player)
	Time.entered(player, "entry")
end)

Players.PlayerRemoving:Connect(function(player)
	-- Last moment to read: after this the player is gone.
	print(player.Name .. " - " .. math.floor(Time.totalFor(player)) .. "s")
	print(Time.report(player))
	accumulated[player] = nil
	current[player] = nil
end)

return Time
In this article

Keep reading