You’ve wired up a file upload, and the empty space beside the filename looks like the perfect place for a filling ring. Drawing it is straightforward. Deciding what it should show when the connection drops, the server keeps processing, or someone uses a screen reader takes more care.
A good circle progress bar connects what your application knows with what a person needs to know. The arc is only part of that connection.
Table of Contents
- What a Circle Progress Bar Shows and Why It Matters
- How the Maths Behind the Ring Works
- Where a Circle Fits and Where a Bar Works Better
- Making the Circle Understandable to Everyone
- Showing Honest Progress When Work Is Uncertain
- Tracking a 12 MB Upload
- Test Your Indicator Before You Ship It
What a Circle Progress Bar Shows and Why It Matters
Think of a clock face filling clockwise, or a pie chart gaining slices as work finishes. A circle progress bar uses a filled arc to show the completed share of a task. The unfilled track represents what remains.
Say someone is uploading a photo. As the application sends more of the file, the arc grows towards a complete ring. Unlike a spinning loading symbol, that growing arc makes a measurable claim about completion.

Give the ring something meaningful to represent
Every determinate indicator needs these ingredients:
- A current value, such as the amount of file data sent.
- Minimum and maximum bounds, which define where the task begins and ends.
- A visual mapping, which converts the completed share into an arc.
The units matter. Bytes transferred can describe an upload, while completed questions might describe a form. Neither automatically tells someone how much time remains, because later work might take longer than earlier work.
The UK Home Office User-Centred Design Manual recommends a step indicator or progress bar for linear journeys so people can understand their position and the steps remaining, particularly when cognitive or emotional difficulties make official forms stressful. That guidance establishes a purpose for progress indicators beyond decoration.
A circle can express a completion relationship in a compact space, but it doesn’t replace the surrounding explanation. Someone should be able to identify the task, understand the value and tell whether they’re expected to wait or act.
Practical rule: Judge the indicator by whether someone understands their position, not by whether the ring looks smooth.
For a reusable component, make the label part of the design from the beginning. An attractive ring with no task name leaves users guessing whether it represents an upload, a storage limit or an expiring session.
How the Maths Behind the Ring Works
For determinate loading, the Intelligence Community Design System specifies a 0 to 100 percentage range, with 0 meaning no progress and 100 meaning completion, and demonstrates a circular indicator labelled Progress 30%. Internally, you can calculate that percentage from any valid minimum, maximum and current value.

Convert a value into an SVG stroke
Use p = (value − minimum) / (maximum − minimum), after clamping the value to its bounds. Reject an invalid range rather than dividing by zero.
- Set the radius
r. Leave room around the circle for the stroke so its outer edge isn’t clipped. - Calculate circumference
C = 2 × π × r. This is the distance around the ring. - Set
stroke-dasharraytoC. The dash can then cover the entire circumference. - Set
stroke-dashoffsettoC × (1 − p). Increasing progress reveals more of that dash. - Rotate by negative ninety degrees around the centre. SVG circles otherwise begin at the right, rather than the top.
- Round only the displayed percentage. Keep the underlying fraction precise, and derive both the arc and label from it.
The following reference values are calculated from those formulas and rounded for readability.
| Radius ® | Circumference | Dash offset at 30% | Dash offset at 75% |
|---|---|---|---|
| 45 | 282.74 | 197.92 | 70.69 |
| 50 | 314.16 | 219.91 | 78.54 |
A CSS alternative is conic-gradient(currentColor calc(var(--value) * 1%), var(--track) 0), with a mask or background layer creating the hole. It avoids SVG stroke calculations, but animating its value needs extra care, and the gradient supplies no accessibility semantics.
Check that the visible arc and displayed percentage agree. Rounded stroke caps can make a short arc appear slightly longer, so inspect the endpoints too.
Where a Circle Fits and Where a Bar Works Better
Ask whether the user needs a single figure at a glance or a position within a sequence. That distinction is more useful than choosing whichever shape matches the rest of the dashboard.
A circle suits a compact summary: storage used, progress towards a goal or profile completeness. Its centre gives the number a natural home, while the surrounding arc provides a quick visual impression. Keep the task label close enough that someone doesn’t have to infer what the number measures.
A linear bar is usually easier to arrange alongside filenames, stage descriptions and long status messages. When the interface needs named steps, a step indicator can explain the journey more clearly than either a plain ring or an unlabelled bar.
Compare the information each shape carries
| Indicator | Best for | Exact value easy to read | Main weakness |
|---|---|---|---|
| Circle progress bar | A single figure in a compact card, such as quota or goal completion | Moderate, needs a text label | Small arcs are hard to judge at a glance |
| Linear progress bar | Multi-step forms, long uploads and progress beside a row of steps | High when paired with a label | Takes horizontal space in narrow layouts |
| Spinner | Work with no measurable total | No exact value | Communicates activity without measurable completion |
| Segmented circle | Discrete completed and remaining steps | High with a step count | Segment geometry and gaps require extra implementation work |
A spinner isn’t a smaller progress bar. Choose it when the application knows work is happening but can’t calculate the completed share. Don’t discard an available, meaningful measurement just to keep the interface visually minimal.
For a linear implementation, this React loading bar guide offers a useful companion when you’re comparing layout approaches. Keep the choice of framework separate from the choice of information: neither React nor SVG determines which progress metaphor is appropriate.
Test the surrounding layout
Shrink the card, enlarge the text and use a long filename. If the number disappears into a tiny centre or the label gets truncated, the circle isn’t earning its space.
Be especially careful with groups of rings. Comparing several arcs requires more visual interpretation than reading aligned labels, so give each metric a clear name and avoid decorative variations that imply different meanings.
Use a circle when the number is the message, a bar when position is the message, and a spinner when completion can’t be measured.
Making the Circle Understandable to Everyone
The DSIT Public Engagement Survey 2025/26 found that 59% of disabled adults could complete most digital tasks without difficulty, compared with 82% of non-disabled adults. Treat the ring as one status channel, not the only way to understand the task.
Build semantics before decoration
For a custom determinate component, expose role="progressbar", an accessible name, aria-valuenow, aria-valuemin and aria-valuemax. Keep those values on a consistent scale. If the semantic value uses bytes while the visible label uses a percentage, provide understandable aria-valuetext.
Name the task rather than the shape. A visible label such as Uploading photo can supply the accessible name through aria-labelledby; the percentage can appear beside it. Hide a purely decorative SVG from assistive technology to avoid duplicate output.
For indeterminate progress, omit aria-valuenow. An unknown amount of completed work isn’t a zero value, and exposing it that way would misrepresent the state.

An ordinary progress indicator shouldn’t receive keyboard focus. If users can cancel an upload or open details, provide a separate button with its own name and focus behaviour.
Use a separate status message for important announcements. Updating the accessible value doesn’t mean you should also push every change through a live region.
The following is an example announcement policy, not a universal timing requirement. Choose a stalled threshold that fits your service and validate it against actual task behaviour.
| State | Announced text | When spoken |
|---|---|---|
| Started | Uploading: 0% | Once, when the upload begins |
| Stalled | Still working, connection may be slow | Once, after an example threshold of 15 seconds without change |
| Failed | Upload failed, retry available | Once, when the request fails |
| Completed | Upload complete | Once, when the upload finishes |
Test what people can perceive and operate
Use strong visual separation between the filled arc, track and background. Don’t make colour the only difference between active, failed and complete states: pair those states with words and, where useful, distinct icons.
Run these checks alongside your broader WCAG compliance checklist:
- Keyboard-only use: Reach every action without stopping on decorative elements.
- Browser zoom: Enlarge the page and text, checking that labels, buttons and the ring don’t overlap or clip.
- Forced colours: Confirm that progress and actions remain identifiable when custom colours disappear.
- Screen reader output: Check the accessible name, range, current value and announcement order.
- Reduced motion: Remove unnecessary rotation and transitions without hiding status.
- Actual spoken text: Listen for duplicate messages, unexplained values and repeated announcements.
A pass means someone can identify the task, understand its state and operate its controls without interpreting the arc. Don’t accept a correct accessibility tree if the spoken experience is still confusing.
Showing Honest Progress When Work Is Uncertain
Animating a ring from empty to full doesn’t establish that anything has finished. A timer can produce a beautifully smooth animation while the request has already failed.
Separate measured progress from evidence of activity. Bytes sent can describe transfer progress. Server processing, payment verification and generation tasks might expose only a running state until they finish.
A fabricated percentage creates an expectation the application can’t honour. If users see a nearly complete ring and then face an unexplained wait, they have no reliable basis for deciding whether to stay, retry or leave.
Map backend evidence to explicit states
The following example uses a deliberately chosen stalled threshold. It’s a product policy to test, not a standard that every application should adopt.
| Backend certainty | Circle shows | Text beside it | Recovery action |
|---|---|---|---|
| Known total, bytes sent | Determinate arc at the real percentage | Uploading: 63% | Cancel |
| Unknown total, work running | Indeterminate rotation, no fixed completion arc | Processing your file | Leave in background, if supported |
| No change for an example threshold of 15 seconds | Frozen arc in a neutral style | Still working, connection may be slow | Check status, then retry if safe |
| Request failed | Arc removed, error icon | Upload failed | Retry or save draft |
| Completed | Full ring with tick | Upload complete | Continue |
No change isn’t proof of failure. A slow transfer, delayed progress event or long processing stage can all look quiet. Before presenting retry as the obvious next action, establish whether the original operation is still running.
If you’re wiring request handling into the component, Vid Kraken’s JavaScript API tutorial is a useful implementation resource to consult alongside your endpoint’s contract. Keep network responses and errors in application state, then let the indicator render that state rather than inventing its own timeline.
Design recovery around the real operation
The UK government’s Digital Inclusion Action Plan progress update reported 1.6 million people in the UK offline and around a quarter of the population struggling to use online services. Design for interrupted access rather than assuming everyone will remain connected throughout a task.
Preserve a job identifier where appropriate so the application can retrieve status after navigation or refresh. Don’t persist a percentage and pretend it’s current: reconcile saved information with the server.
- Retry safely: Avoid duplicate submissions, especially when an operation could create a payment or record.
- Cancel clearly: Distinguish requesting cancellation from receiving confirmation that work stopped.
- Save deliberately: Explain what a draft retains and whether the file must be selected again.
- Continue in the background only when supported: Leaving a screen isn’t the same as guaranteeing that browser-side work will continue.
A transition may smooth the journey between measured values. It mustn’t create values the system hasn’t measured.
Respect reduced-motion preferences and retain a static status message when animation stops. The user’s evidence that work continues should come from the application state, not from spinning pixels alone.
Tracking a 12 MB Upload
Consider a hypothetical upload of a 12 MB photo. The browser has a measurable file size, so the application can use the actual byte count as its maximum and the bytes sent as its current value.
At the start, the label identifies the photo and the screen reader receives the start announcement. The ring begins empty, while a separate cancel button remains available. The file upload interface provides the surrounding context for file selection and status; the ring shouldn’t have to explain the entire interaction.
Follow the successful transfer
In this example, 7.56 MB sent out of 12 MB equals 63%, calculated by dividing the transferred amount by the total. The visible label reads Uploading: 63%, and the arc uses the same fraction.
Use actual bytes for the calculation rather than rounded file-size strings. A size label is for people; the underlying transfer values are for arithmetic.
The screen reader doesn’t need a fresh announcement for every transfer event. Someone who queries the indicator can obtain its current value, while the live status remains reserved for meaningful changes.
When transfer finishes, the application checks what the endpoint response means. If the server still needs to validate or process the photo, the interface changes to a processing state rather than announcing that the whole task is complete.
- Transfer accepted: Show that the upload stage has ended.
- Processing pending: Replace the measured transfer arc with an appropriate activity state.
- Final confirmation received: Announce completion and offer the next action.
Follow an interrupted attempt
Now take a separate hypothetical attempt that loses connectivity at 40%. Under the example policy, after 15 seconds without a progress update, the arc stays at its last measured position and the text changes to Still working, connection may be slow.
The application checks the request state before enabling a safe retry. If it receives a definitive failure, it announces Upload failed, retry available and keeps the selected filename visible so the user knows which item needs attention.
For planning interrupted-connectivity cases, consult the network test checklist for Indian apps from 99tests. Use the network conditions relevant to your users, and test the transition between conditions as well as a consistently slow connection.
Contrast that with a hypothetical implementation that fills the ring over three seconds, regardless of transfer events. It reaches a full circle while the failed upload remains unresolved, leaving the user with conflicting information.
The drawing code could be identical in both implementations. The difference is whether application evidence or an arbitrary timer controls it. Only the evidence-driven version gives the user a sound reason to wait or act.
Test Your Indicator Before You Ship It
Make release approval depend on observable behaviour, not a polished demonstration. Exercise the indicator with real request events and controlled failures, then record the result for each state.
Use a go or no-go checklist
- State coverage: Verify a visible status representation, understandable text and an appropriate next action. An error icon may replace the ring, and successful completion doesn’t need a recovery button.
- Agreement: Check empty, partial and complete values. Calculate the expected dash offset and confirm that the arc, text and accessible value all represent the same amount.
- Access: Run keyboard, zoom, forced-colours, screen-reader and reduced-motion checks against every meaningful state.
- Recovery: Interrupt a request, refresh during processing and attempt a retry. Confirm that the interface doesn’t lose the task or create duplicate work.
Choose a starting point, not a substitute for testing
DOM Studio’s Data Visualisation components include donut charts and metric cards, which offer starting points for circular dashboard displays. Styles are token driven, so your app owns the CSS variables, spacing, radius and final look.
A chart-shaped component doesn’t automatically provide task-progress semantics. Verify the actual rendered roles, labels and behaviour in your application, and keep the request state separate from presentation.
Before release, write your product’s state table and test an indicator against it. Treat any mismatch between the backend state and the user-facing message as a release blocker.
DOM Studio offers data visualisation components, including donut charts and metric cards, with token-driven styling you can adapt to your interface. Visit DOM Studio to explore a starting point for your circular status display, then connect it to measured values, meaningful labels and tested recovery states.
