Arm's length range builder

Paste the margins from your comparable search, type the tested party margin, and this builds the range the way a study shows it: sorted sample, quartiles by interpolation, the interquartile range, and the distance to the nearer edge.

Transfer pricing Updates as you type Nothing is sent anywhere

The comparable set

Percentages, in whatever profit level indicator your study uses. Signs are respected, so a loss-making comparable goes in as a negative.

%

The same indicator, on the same basis, for the entity being tested.

Where the tested margin sits

—

Comparables in the set —

Inside the interquartile range — Inside the 35th to 65th percentile band —
Minimum—
Lower quartile—
35th percentile—
Median—
65th percentile—
Upper quartile—
Maximum—
Interquartile range, in points—
Arithmetic mean—
Full spread, in points—
Distance to the range, in points—
Adjustment to the nearer edge, in points—
Adjustment to the median, in points—

What a range is, and why the quartiles rather than the whole set

A comparable search never produces one number. It produces a scatter, and the arm's length principle accepts that a range of results can all be arm's length. The question is which part of the scatter to accept. Using the full range from minimum to maximum lets a single odd company set the boundary, so the convention is to narrow it — most commonly to the interquartile range, the middle half of the sample.

The quartiles here are computed by linear interpolation on the sorted sample, which is the method a spreadsheet's inclusive percentile function uses and the one most studies show their working in. The 35th to 65th percentile band is printed alongside it because some jurisdictions use that narrower band instead. Which one applies to you is a matter of local rules, not of statistics.

Reading the result, and the adjustment that follows

If the tested margin is inside the range, the range test produces no adjustment. That is not the same as saying the position is safe: the comparables themselves, the profit level indicator and the characterisation of the tested party are all still open, and they are what an audit usually attacks first.

If it is outside, the size of the adjustment depends on the rule. Some regimes adjust to the nearer edge of the range; others adjust to the median regardless of which side you fell out on. Both figures are printed, and the difference between them is often larger than the argument about the comparables.

Worked example

Ten comparables produce net cost plus margins from 2.1% to 8.6%. The tested entity, a captive service provider, returned 3.0%.

  1. Sorted, the sample gives a lower quartile just under 4% and an upper quartile just over 6%, with the median between them.
  2. 3.0% sits below the lower quartile, so the range test bites and the entity is outside.
  3. The adjustment to the nearer edge is under a point. The adjustment to the median is more than double that.

Delete the two lowest comparables and re-run it. The quartiles move, the tested margin may come inside, and you have just demonstrated why the comparable set is the real argument.

What this calculator assumes

  • Quartiles are computed by linear interpolation on the sorted sample — the inclusive percentile method. Some regimes and some software use an exclusive method and will differ slightly on small samples.
  • The 35th to 65th percentile band is shown because some jurisdictions require it rather than the interquartile range. This tool does not decide which applies to you.
  • Nothing here tests comparability. A sample that passes the arithmetic can still fail on functions, contractual terms, markets or accounting basis.
  • Multi-year averaging, working capital adjustments and accounting adjustments should be applied to the figures before they are pasted in.

An estimate, not advice. This is an estimate built from what you typed, not advice on your file. Nothing here reads your documents, checks your treaty article or looks at the year you are actually in. Where the number matters, we agree a fixed fee in writing before any work starts.

Where these figures come from

Any figure prefilled in the panel above is stated with the year it belongs to and can be changed. Rates and thresholds move; a calculator that asks you for the current one stays right, and one that hides a guess does not.

Files that look like this one

Case study 1

Comparable range built from scratch for a subsidiary's first service charge

A subsidiary began charging its foreign parent for management services and had no arm's length range to test the proposed fee against. We built a comparable set for the service category, established the resulting range, and confirmed the proposed fee sat within it before the arrangement began.

Case study 2

Existing range challenged after market conditions shifted

A client's transfer-pricing range, built several years earlier, was queried during a review because the underlying market conditions had changed materially since it was constructed. We rebuilt the range using current comparable data, found the original fee still fell within the updated range, and used the refreshed analysis to support the client's position.

Case study 3

Range constructed to test a proposed royalty rate before it was finalised

A group wanted to confirm a proposed intercompany royalty rate would be defensible before formalising the licensing agreement. We built the arm's length range from comparable licensing arrangements, tested the proposed rate against it, and the group adjusted the rate slightly to sit more comfortably within the range before signing.

Case study 4

Leaving Canada — the Bill You Get for Assets You Still Own

Emigrating triggers a deemed disposition of most holdings, which produces tax on gains never realised in cash. The file values the property, identifies what is excluded, and looks at whether security can be posted rather than the tax paid outright.

Read how this one runs
Case study 5

A Secondment Whose Paperwork Decided the Tax

Who employs, who directs and who bears the cost are the facts a treaty article turns on, and an assignment letter is where they are recorded. Drafting it with the tax position in view prevents an argument later.

Read how this one runs
Case study 6

A Company That Needed a Resident on Its Board

Several jurisdictions require a locally resident director before a company can be registered or keep its filings current. The requirement is structural and is settled at incorporation rather than discovered at the first annual return.

Read how this one runs
Case study 7

A Pricing Study That Started With Who Does What

Functions, assets and risks decide which entity should earn the return, and the method follows from that rather than the other way round. Getting the sequence backwards is how a study fails on its first question.

Read how this one runs
Case study 8

Trips That Added Up to a Filing Obligation

Short visits are tracked against a treaty threshold that is measured over a moving window rather than a calendar year. Where the threshold is passed, the obligation reaches back over the whole period.

Read how this one runs

All case studies — every published engagement in one place.

Core International & Cross-Border Tax Services

International Tax Planning & Advisory

Strategy and compliance for income, assets and families spread across borders.

One coordinating team: filings on every side of the border are sequenced so treaty relief and foreign tax credits are claimed once — and in the right country.
U.S. & Cross-Border Tax Returns
Dual filers: U.S. citizens in Canada and Canadians with U.S. income run two parallel systems — we prepare both, in the right order, every year.
Expat & Emigration Tax
The move year is its own project: the elections and valuations filed that year decide the next decade of both countries’ returns.
Non-Resident Canadian Tax
Default withholding is 25% of gross: elective returns routinely turn over-withheld rent and pensions into refunds.
Transfer Pricing & BEPS
Documentation prepared with the return is the cheapest insurance in international tax; reconstructing it during an audit is the most expensive.
Cross-Border Estates & Trusts
Wills drafted for one country routinely misfire in the other — deemed disposition here, estate tax there, credits in between.
Cross-Border Corporate Tax
Expansion raises the same four questions every time — entity, PE, repatriation, payroll. We answer them before the tax authorities do.
India Tax for NRIs & Returning Residents
The deduction is taken on the sale price, not the gain — which is why an NRI property sale strands cash unless the certificate is applied for before closing.
Canadian Tax with a Foreign Element
Residency is decided on facts, not on a form — and the year you arrive or leave is the one where the largest amounts turn on the smallest details.
UAE Tax for Expats & Their Home Country
A zero-tax country is only half the answer — the question that decides the bill is whether the country you came from still treats you as resident.

Industries & Client Types We Serve Worldwide

Global E-commerce & Marketplaces
Technology & SaaS
Professional Services Firms
Cross-Border Real Estate
Importers, Exporters & Manufacturers
Athletes, Artists & Entertainers
Remote Workers & Digital Nomads
Investment Funds & Holding Companies
Global E-commerce & Marketplaces
  • Foreign VAT / GST / sales tax registrations
  • Marketplace withholding reviews
  • Inventory nexus & PE analysis
  • Multi-currency books reconciled
Explore E-commerce & Marketplaces
Technology & SaaS
  • Cross-border revenue sourcing & withholding
  • IP structuring with real substance
  • Equity for cross-border teams
  • U.S. expansion: entity & PE setup
Explore Technology & SaaS
Cross-Border Real Estate

Foreign property income and sales are taxed in both countries by default; Section 216, FIRPTA and treaty credits are the standing toolkit.

Property is taxed where it sits, which is the one rule no treaty overrides. What the treaty does decide is the credit, the rate on the rent and what happens on the sale — and the clearance certificate on a disposition is applied for before closing, not after the buyer has already held the money back.

  • Section 216 rental returns
  • FIRPTA withholding recovery
  • Section 116 clearance
  • Treaty credit optimization
Explore Real Estate
Importers, Exporters & Manufacturers
  • Transfer pricing documentation (s.247)
  • Customs value vs transfer price
  • Foreign affiliate reporting (T1134)
  • Country-by-country reporting
Explore Trade & Manufacturing
Athletes, Artists & Entertainers
  • Reg 105 & U.S. CWA agreements
  • Multi-state & country calendars
  • Touring income allocation
  • Royalty & image-rights withholding
Explore Athletes & Entertainers
Remote Workers & Digital Nomads
  • Residency analysis before moving
  • Employer payroll exposure
  • Totalization & social security
  • Foreign tax credits
Explore Remote Workers
Investment Funds & Holding Companies
  • Treaty access & PPT reviews
  • FAPI & surplus computations
  • Withholding-efficient routing
  • Governance & substance
Explore Funds & Holdcos

Next to this one

All 39 calculators

Frequently asked questions

The interquartile range is the usual convention, because it stops one unusual comparable setting the boundary. Some jurisdictions require a narrower band instead, and both are shown here so you can see the difference on your own set.
By linear interpolation on the sorted sample, which is what a spreadsheet's inclusive percentile function does. On small samples an exclusive method gives slightly different quartiles, so state which method your study used.
It depends on the regime. Some adjust to the nearer edge of the range, some to the median whichever edge you fell out of. Both figures are printed above because the gap between them can be substantial.
There is no universal minimum, but a very small set makes the quartiles unstable and invites an argument about whether a range exists at all. Add or remove one comparable here and watch how much the boundaries move.
24-Hour Helpline: +1 (416) 619-0068

Want the exact number for arms length range?

Talk to a professional tax accountant about your situation. No obligation, and the fee is agreed in writing before any work starts.

  • Tax accountant led team
  • Fixed fees, no hourly billing
  • 18,000+ clients served

Our practitioners are alumni of leading accounting and tax institutions

Where our partners studied — CPA Canada (In-Depth Tax Program), AICPA, the Institute of Chartered Accountants of India and the Malaysian Institute of Accountants.

Request a Quote +1 (416) 619-0068