US Equity Comp Fun for UK workers

E*Trade Handler & CGT Calculator

US Equity Compensation Management

UK Capital Gains Tax Calculator For Vested Equity Within E*Trade

Upload your files and process them to see consolidated transactions and CGT results.

No liability for any bugs. All data handling done client side. Feel free to check the code.

Click 'go corporate' for a sanitised version of the docs and guides.

Click 'go cyberpunk' for more 'informal' documentation and guides.

1. Gains/Losses (XLS/XLSX)

2. Benefits (XLS/XLSX)

3. Stock Prices (CSV)

4. Forex Rates (CSV)

5. US Holidays (JSON)

6. Manual Transactions (Use for Options)

Date Quantity Price (USD) Price (GBP) Grant Number Action

All Combined Transactions

Validation Report


        

Total Shares in Pool

0.00

Average Cost (GBP)

£0.00

Disposals

Transaction History

CGT Summary

Total Gain/Loss (GBP)

£0.00

Gain/Loss by UK Tax Year

Tax Year Gain/Loss (GBP)

NAVIGATING THE CORPORATE MAZE: UK EQUITY HELL

DATA EXTRACTION PROTOCOL: E*TRADE EDITION

First, you'll need to hack your way through E*Trade's labyrinth to extract these essential files. Because apparently, combining this into one report would be too damn convenient:

THE KAFKAESQUE WORLD OF UK STOCK TAXATION

And now we've got what we need....welcome to the bureaucratic nightmare that is RSU taxation in the UK. Whoever designed this system probably gets paid by the complexity:

WHY THIS APP EXISTS

Because someone had to deal with this hot mess. Here's what it handles for you:

SECTION 104: A SPECIAL CIRCLE OF HELL

Welcome to the UK's share pooling system, where basic math goes to die:

WHAT ABOUT MY STOCK OPTIONS? AND I BED AND SIPP/ISA - HELP ME TOO!

If you're transferring into your own ISA or SIPP - bed and whatevering - you're on your own my love. For options though:

WHAT ABOUT THE FEES?

Oh, you mean the fees that E*Trade takes to sell tax withholding shares that are forcibly sold? And the ones on each transaction?

SURVIVAL STRATEGIES

THE BOTTOM LINE

This app exists because E*Trade and HMRC won't give you the tools you actually need. It's built by someone who got tired of spreadsheets, manual calculations, and the soul-crushing realization that no one in authority thought this system needed simplifying. Enjoy the automation, and maybe one day they'll realize that tax systems shouldn't require 'a very specific set of skills' to navigate. But just be glad you're hopefully not on Universal Credit.

E*Trade Data Management Guide

Accessing Required E*Trade Data

E*Trade provides multiple reports necessary for managing equity compensation. Follow these steps to obtain the required data:

  • Login to E*Trade
    Ensure you have access to your account.
  • Stock Plan Selection
    Select your stock plan from the dashboard, avoiding the company name.
    Select stock plan
  • Benefits Report
    Navigate to My Account > Benefit History. Click "Download Expanded" to save the report.
    Select Benefit History
    Download Benefit History
  • Gains & Losses Report
    Access the My Account > Gains & Losses section. Request the maximum available date range for reporting.
    Select Gains & Losses
    Download Gains and Losses
  • Stock Price and Other Supporting Data
    Obtain the following additional resources to support calculations:
    • Historical Stock Price Data: Required for tax basis calculations via Python Script
    • Currency Data: Use this Python Script to fetch GBP/USD daily averages.
    • US Holiday Calendar: This Python script ensures date adjustments align with market closures.

Navigating the UK Tax Framework

Equity compensation in the UK involves specific tax considerations. Here are the key components:

  • Income Tax at Vesting
    RSUs are subject to Income Tax and National Insurance Contributions (NICs) upon vesting, calculated based on the share value.
  • Capital Gains Tax (CGT) on Sale
    Any subsequent sale incurs CGT. Ensure you account for:
    • Section 104 holding calculations.
    • Same-day transaction matching.
    • 30-day matching rules.
  • Currency Adjustments
    Convert USD values to GBP using average daily exchange rates.

Features of This Tool

This app simplifies the complex processes required for UK equity compensation compliance by:

  • Integrating fragmented E*Trade reports into cohesive data.
  • Automating currency conversions for HMRC compliance.
  • Implementing Section 104 pooling rules to streamline CGT calculations.
  • Adjusting for non-business days using US holiday data.
  • Generating a comprehensive paper trail suitable for auditing.

Handling Stock Options

While primarily designed for RSUs, this app can accommodate stock options with some manual inputs:

  • Treat stock options as RSUs for calculation purposes.
  • Include "cash exercise and hold" or "sell to cover and hold" transactions.

Survival Strategies for Tax Optimization

Maximize efficiency by adopting the following strategies:

  • Tax Year Planning: Distribute sales across tax years to optimize CGT allowances.
  • 30-Day Rule Awareness: Be mindful of HMRC’s rules to avoid unintentional tax liabilities.
  • Maintain Detailed Documentation: Track all transactions and supporting data to ensure compliance.

Conclusion

This app was developed to alleviate the challenges of managing equity compensation in the UK. By automating complex tasks and ensuring compliance with HMRC rules, it provides the tools needed to navigate the system efficiently.

Select stock plan

TALES FROM THE TAX PUNKS

Intercepted communications from the tax resistance. Not financial advice. For entertainment purposes only. Any resemblance to actual tax optimization strategies is purely coincidental...

20:57

[ Secure channel established - Encryption active ]

20:58 NovaRunner

first vest just hit. everyone's like "HODL, it'll go up!" but they already took over half in tax witholding anyway. feels wrong. i'm basic rate.

21:00 TaxMatrix_Sage

they never mention that part in the motivational speeches, do they? "congratulations on your RSUs, now watch half vanish for tax before you even see them" 😏. You'll get that diff back in your PAYE though.

21:01 NovaRunner

so what now? stocks are volatile

21:03 TaxMatrix_Sage

here's the thing no-one says: you already paid tax on full value at vest. holding after that is a pure gamble on you. like buying the stock with post-tax money, but on autopilot

21:04 NovaRunner

wait... so if it drops I still paid tax on the higher amount? 🤔

21:05 TaxMatrix_Sage

bingo. welcome to the matrix. only forced gamble was between grant and vest. maybe you made bank, maybe you didn't. your choice now tho ... just keep meditating 'safe percentage of net worth'

21:06 NovaRunner

damn. good point. but heard something about "bed and breakfast" rules if I sell? sounds like a hotel promotion 😅

21:08 TaxMatrix_Sage

haha HMRC's idea of hospitality. no fry up tho. can't sell and rebuy (a vest in our case) within 30 days or they treat it as same val. but that opens... possibilities for those who understand timing 😉

21:09 NovaRunner

seeing stuff about "Section 104 pools" too. sounds like a fancy swimming complex

21:11 TaxMatrix_Sage

their way of averaging your purchase costs. but here's a secret: same-day transactions match first. some people get creative with that knowledge... especially around vest days...

21:12 NovaRunner

👀

21:14 TaxMatrix_Sage

let's just say timing isn't just for traders. some folks get real precise with their clocks to realise the taxed vest value...

21:15 NovaRunner

my benefits team keeps pushing salary sacrifice schemes. seems random

21:17 TaxMatrix_Sage

not so random when you understand income thresholds. bikes, pension contributions, maybe a taycan or a tesla... all reduce "taxable income". interesting effects on child benefit and six figure ballers personal allowance taper....or UC...

21:18 NovaRunner

hold up. some people driving fancy new EVs or e-bikes might actually be gaming the system? legally??

21:20 TaxMatrix_Sage

well ... heard paye stories that would make mossack fonseca envious. all perfectly legal. system has more loopholes than a crochet convention. by design. labor lost to capital but crumbs are still there.

21:21 NovaRunner

starting to see why they make it so complicated...

21:23 TaxMatrix_Sage

complexity creates opportunity. pension allowances, carry back, charitable giving, timing of disposals... pieces of a puzzle waiting to be solved

21:24 NovaRunner

any recommended reading? need to level up my tax game

21:26 TaxMatrix_Sage

official guides tell half the story. watch what people actually do. especially those who talk about effective marginal rates and tax and benefit thresholds. but you didn't hear that from me...

21:27

[ Warning: HMRC pattern matching detected - Channel compromised ]

21:28 TaxMatrix_Sage

time to disappear. remember: eggs in baskets, watch the clock near vest, and always read the fine print on salary sacrifice... 😉

21:29

[ Connection terminated - Channel shutdown complete ]

No tax advisors were harmed in the creation of this chat log. But several spreadsheets did expire from exhaustion.

Insights from the Accountant's Desk

This conversation is for educational purposes only and does not constitute professional tax advice. Please consult with a qualified tax advisor for your specific circumstances.

20:57

[ Conversation initiated - Advisor online ]

20:58 Employee

My RSUs just vested, but over half was taken for tax withholding. Is this normal?

21:00 Accountant

Yes, that's standard. At vesting, Income Tax and National Insurance are calculated on the full market value of the shares. The withholding is an estimate, and any overpayment will be adjusted via your PAYE tax code.

21:01 Employee

Should I hold the shares or sell them now? They’re quite volatile.

21:03 Accountant

That depends on your risk tolerance. Remember, you’ve already paid tax on the shares' value at vesting. If the stock drops, you won’t recover that tax. Holding is essentially like reinvesting post-tax money into the stock.

21:04 Employee

What about the "bed and breakfast" rule I’ve heard about? Does that apply here?

21:06 Accountant

The "bed and breakfast" rule prevents you from selling and repurchasing the same shares within 30 days for tax advantage. If you sell your RSUs and repurchase them quickly, HMRC will treat it as the same holding for tax purposes. Release on vest is effectively an acquisition, so if you sold in the 30 days prior to vest, this is a situation you may encounter. Timing is key if you want to avoid this.

21:07 Employee

I’ve also seen mentions of "Section 104 pools." What are those?

21:09 Accountant

Section 104 pools are used to average the acquisition cost of shares acquired over time. However, same-day transactions and the 30-day rule take precedence. This can be advantageous if you’re strategic with your trades, especially around vesting dates.

21:10 Employee

My company also keeps mentioning salary sacrifice schemes. Are they worth considering?

21:12 Accountant

Salary sacrifice can reduce your taxable income, which may help you stay below key thresholds, such as the higher tax rate or child benefit taper. Common options include pension contributions, cycle-to-work schemes, and electric vehicle plans. They’re worth exploring if they align with your financial goals.

21:13 Employee

It all seems so complex. Why does the system work this way?

21:15 Accountant

The complexity creates opportunities for optimization but also makes compliance challenging. Timing disposals, using allowances, and understanding the nuances of rules like Section 104 can help reduce your tax liability. Knowledge is key.

21:16 Employee

Where can I learn more? I’d like to better understand these strategies.

21:18 Accountant

I recommend starting with HMRC’s official guides and consulting with a tax professional for tailored advice. Additionally, understanding effective marginal rates and income thresholds can provide deeper insights into tax planning.

21:20

[ Conversation ended - Advisor offline ]

This professional dialogue aims to clarify common tax considerations for RSUs. Always seek formal advice for your specific situation.

Who are you?

Not an accountant. Just someone who once had a 116% Effective marginal tax rate on part of their income


Jeez. Any Advice?

I strongly suggest checking my working.


Why do I need 5 files, why not just the e*trade ones?

Look into CORS. If people like it, then I can add a small server side component to avoid the need to upload stock prices/forex data/US holidays, and handle that stuff automatically.


Why don't you just do that?

The reason I haven't done that is simple. I want it to be able to run locally, with the only reliance on a third party JS library for loading excel files.


Just do it!

Remember Goodfellas? - sufficient clicks of that donate button and I might think about it!


How can I contact you? I want to integrate this into my corporate dystopia.

Contact details and the license are here

The site source is on github

About Me

I'm not an accountant, but an experienced professional who understands the challenges of navigating complex tax systems. My perspective comes from real-world experience, including managing scenarios like effective marginal tax rates exceeding 100%.


Do You Offer Advice?

I strongly encourage you to verify any calculations and seek formal guidance from a qualified accountant to ensure compliance with tax regulations.


Why Are Multiple Files Needed Instead of Just E*Trade Reports?

To ensure accurate calculations, additional data such as stock prices, forex rates, and US holidays are required. Implementing a server-side component could streamline this process in the future, depending on user demand.


Why Keep It Local?

My focus is on privacy and simplicity. By running locally, the tool avoids reliance on external servers, with only a lightweight third-party library for handling Excel files.


Can You Add More Features?

With enough community support, further development is possible. As the saying goes, “Every little helps”—especially when it comes to hitting that donate button!


How can I contact you? I want to integrate this into my company site

Contact details and the license are here

The site source is on github