Free tax calculators for Romanian business owners, 2026 rules. The UI is in Romanian.
/calculator-pfa: PFA taxes (income tax 10%, CAS, CASS) in sistem real or normă de venit, take-home pay, and a PFA vs SRL micro comparison./verificare-micro: whether a company can stay a micro-enterprise (1%) under the €100k ceiling, including linked firms and PFAs./calculator-dividende: net dividends for an SRL owner, from the company figures (micro 1% or profit tax) from the gross dividend, or backwards from the net amount you want to keep (net to gross), with CASS bands, ownership share and a tip when just over a band./salariu-sau-dividende: for an SRL owner who is also its employee, tries every salary from the minimum wage to the whole profit and shows the mix that leaves the most money, with the 2026 minimum-wage tax-free amount, the personal deduction, CASS bands and pension contributions./calculator-investitii: tax and CASS for individuals on stocks/ETFs (foreign and Romanian brokers), dividends with foreign tax credit, crypto, rent and interest, with the distance to the next CASS band./termene-anaf-2026: tax deadlines for 2026–2027, moved past weekends and public holidays, with Google Calendar links and an .ics export (lib/termene.ts).lib/guides/) with FAQ and breadcrumb structured data. Keyword plan: docs/SEO.md./confidentialitate and /termeni: privacy policy and terms of use, with the operator details from lib/site.ts.app/layout.tsx, loaded only when NEXT_PUBLIC_CF_ANALYTICS_TOKEN is set. No cookies and no visitor ID, so there is no consent banner. It strips ? and # from URLs, so share links stay private.Code:
lib/rules-2026.ts: every rate and threshold, with sources. Update this file each year.lib/pfa.ts, lib/check.ts, lib/investitii.ts, lib/dividende.ts, lib/salariu.ts, lib/termene.ts: pure logic, tested in lib/*.test.ts. Shared number formatting is in lib/format.ts.components/pfa, components/micro, components/invest, components/dividende, components/salariu, components/ui.tsx: the live calculators.npm run dev # http://localhost:3000
npm test
npm run typecheck
npm run lint
npm run build
npm run build writes the whole site as static files to out/. GitHub Actions (.github/workflows/ci.yml) runs the tests, type check, lint, npm audit and the build on every push and pull request, and publishes out/ to GitHub Pages on every push to main.
Copy .env.example to .env.local for local work. For the live site the same values are GitHub repository variables (Settings → Secrets and variables → Actions → Variables), read by the build in ci.yml. None of them are secrets: they all end up in the public pages.
Hosting: GitHub Pages
taxepeinteles.ro, then add the DNS records GitHub lists (A/AAAA records for the apex domain, CNAME for www). Verify the domain under your GitHub account settings → Pages, then tick Enforce HTTPS.<meta> tag (lib/csp.ts) and there is no clickjacking header. Putting Cloudflare in front would allow real headers later.Cloudflare Web Analytics (free): in the Cloudflare dashboard, open Web Analytics → Add a site, enter taxepeinteles.ro, and choose the JavaScript snippet (you don’t need to move DNS to Cloudflare). Copy the token value from the snippet into NEXT_PUBLIC_CF_ANALYTICS_TOKEN. The site adds the script itself.
Google Search Console: add the domain, put the HTML-tag token in NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION, submit /sitemap.xml.
Background for each item: docs/AUDIT-2026-11-20.md.
Decide
/termeni and /confidentialitate show only the contact email. Legea 365/2002 asks for the name, address and, for a company, CUI and J number once the site earns money (ads, affiliate links, paid features).Accounts
taxepeinteles.ro).Set as GitHub repository variables
NEXT_PUBLIC_CONTACT_EMAIL. Optional: NEXT_PUBLIC_OPERATOR_NAME, NEXT_PUBLIC_OPERATOR_ADDRESS, NEXT_PUBLIC_OPERATOR_REG (company only).NEXT_PUBLIC_CF_ANALYTICS_TOKEN.Accountant review
/termeni and /confidentialitate.Release
main, then watch the “CI and deploy” run in the Actions tab.NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION), then submit /sitemap.xml.lib/rules-2026.ts for the new minimum wage, rates and BNR rate, and refresh LAST_CHECKED;lib/termene.ts.Tip: after installing packages, restart the dev server and delete .next if styles look stale.