# Capital Gains

Track and report capital gains from investments

139 posts [View all tags](https://beancount.io/blog/tags) [Back to All Posts](https://beancount.io/blog)

May 17, 2026 12 min read

## [Form 1099-S Demystified: How the Right Closing-Day Certification Can Spare You a Surprise Tax Bill on Your Home Sale](https://beancount.io/blog/2026/05/17/form-1099-s-real-estate-sale-reporting-rev-proc-2007-12-certification-section-121-exclusion-box-2-gross-proceeds-settlement-agent-guide)

Form 1099-S reports the gross sale price of a home, not the net, which routinely triggers IRS CP2000 notices for sellers whose gain is fully excluded under Section 121. This guide explains the Rev. Proc. 2007-12 certification that lets qualifying principal-residence sales bypass the form, the $250,000/$500,000 thresholds, the nonqualified use trap added in 2008, and how to defensibly report when the 1099-S cannot be skipped.

Mike Thrift

real-estate tax tax-compliance

May 17, 2026 14 min read

## [How the OBBBA's Tiered QSBS Exclusion Changes the Math for Founders, Employees, and Angels](https://beancount.io/blog/2026/05/17/obbba-section-1202-qsbs-15-million-cap-tiered-50-75-100-percent-exclusion-three-four-five-year-holding-founders-employees-angels-guide)

The OBBBA raised the Section 1202 QSBS cap to $15 million, lifted the gross-asset ceiling to $75 million, and replaced the five-year cliff with a tiered 50/75/100 percent exclusion at three, four, and five years — but only for stock issued after July 4, 2025.

Mike Thrift

tax tax-planning startup

May 17, 2026 14 min read

## [Section 1031 Boot Recognition: Cash Boot, Mortgage Boot, and Partial Deferral on Form 8824](https://beancount.io/blog/2026/05/17/section-1031-boot-recognition-mechanics-like-kind-exchanges-cash-mortgage-boot-netting-rules-partial-deferral-form-8824-guide)

A working guide to how the IRS computes boot in a Section 1031 exchange — cash boot, mortgage boot, the four netting rules, depreciation recapture at 25%, carryover basis, and Form 8824 reporting — with a worked example showing how $200K of fresh equity can wipe out $200K of mortgage boot.

Mike Thrift

real-estate tax tax-planning

May 17, 2026 14 min read

## [Section 707(a)(2)(B) Disguised Sale Rules: How LLC Members Contribute Property and Take Cash Without Triggering a Taxable Sale](https://beancount.io/blog/2026/05/17/section-707-disguised-sale-rules-partnerships-llc-members-property-contribution-cash-distribution-two-year-presumption-guide)

Section 707(a)(2)(B) recharacterizes paired property contributions and cash distributions to LLC members as taxable sales when they occur within two years. A walkthrough of the two-prong test, the rebuttable two-year presumption, the four regulatory exceptions, debt-financed distribution mechanics, and the Form 8275 disclosure that keeps partners out of audit trouble.

Mike Thrift

partnerships llc real-estate

May 16, 2026 14 min read

## [The 30-Day Decision That Can Save Founders Millions: A Plain-English Guide to the Section 83(b) Election](https://beancount.io/blog/2026/05/16/section-83b-election-founders-early-employees-30-day-window-form-15620-restricted-stock-qsbs-holding-clock-vesting-guide)

A Section 83(b) election lets founders and early employees pay ordinary income tax today on the full value of restricted stock instead of at each vest. Filed within 30 days on IRS Form 15620, it can convert millions of phantom ordinary income into long-term capital gain and start the QSBS holding clock on day one.

Mike Thrift

tax tax-planning startup

May 15, 2026 11 min read

## [Form 1099-DA, Per-Wallet Cost Basis, and the Rev. Proc. 2024-28 Safe Harbor: A 2026 Crypto Tax Guide](https://beancount.io/blog/2026/05/15/form-1099-da-per-wallet-cost-basis-crypto-broker-reporting-rev-proc-2024-28-safe-harbor-2026-guide)

Form 1099-DA introduces IRS broker reporting for digital asset sales beginning with 2025 transactions and adds cost-basis reporting for covered assets in 2026. Rev. Proc. 2024-28 simultaneously ends universal wallet accounting in favor of per-account allocation. This guide explains how investors and businesses reconcile 1099-DA against their own records, use the one-time safe harbor, and avoid paying capital gains tax twice.

Mike Thrift

crypto-taxes digital-assets irs-reporting

May 15, 2026 11 min read

## [Give It Now or Leave It Later? The Basis Trap That Quietly Costs Families Hundreds of Thousands in Capital Gains Tax](https://beancount.io/blog/2026/05/15/section-1015-carryover-basis-lifetime-gifts-vs-section-1014-stepped-up-basis-death-dual-basis-rule-15-million-exemption-2026-guide)

Lifetime gifts under IRC Section 1015 carry over the donor's basis, while inheritance under Section 1014 steps it up to fair market value at death — a difference that can shift a family's after-tax outcome by six figures on a single appreciated position under the 2026 $15 million federal exemption.

Mike Thrift

tax tax-planning estate-planning

May 15, 2026 13 min read

## [Section 1248 Deemed Dividend on CFC Stock Sales: A U.S. Shareholder's Guide to E\&P, GILTI, and PTEP](https://beancount.io/blog/2026/05/15/section-1248-deemed-dividend-cfc-stock-sale-us-shareholders-capital-gain-recharacterization-earnings-profits-gilti-ptep-guide)

Section 1248 recharacterizes part of a U.S. shareholder's gain on the sale of CFC stock as a dividend, capped by the corporation's earnings and profits and reduced by PTEP from GILTI and Subpart F inclusions. This guide explains who is affected, how the lookback works, why corporate sellers can prefer the recharacterization for Section 245A, and how to build a defensible work paper.

Mike Thrift

international-tax foreign-corporations tax-planning

May 15, 2026 16 min read

## [Section 302 Stock Redemptions: Sale vs. Dividend Treatment in Closely-Held C Corporations](https://beancount.io/blog/2026/05/15/section-302-stock-redemption-c-corporation-sale-vs-dividend-substantially-disproportionate-complete-termination-section-318-attribution-guide)

A practical guide to Section 302 stock redemptions in closely-held C corporations — when a buyback gets capital gain treatment versus dividend treatment, how Section 318 family attribution disqualifies most family redemptions, and how the four 302(b) tests plus the 302(c)(2) waiver preserve sale treatment.

Mike Thrift

tax tax-planning c-corporation

May 14, 2026 13 min read

## [Direct Indexing for Tax-Loss Harvesting in 2026: The Loss Machine ETFs Cannot Build](https://beancount.io/blog/2026/05/14/direct-indexing-tax-loss-harvesting-2026-sma-personalized-portfolio-wash-sale-rule-tax-alpha-sp500-tracking-guide)

US direct indexing harvests losses stock-by-stock in an SMA — wash-sale rules and tax alpha ETFs cannot match in 2026.

Mike Thrift

direct-indexing tax-loss-harvesting tax-planning

May 14, 2026 16 min read

## [Form 6252 and Installment Sales: A Working Guide to Section 453](https://beancount.io/blog/2026/05/14/form-6252-installment-sale-section-453-business-real-estate-private-stock-gross-profit-ratio-453a-interest-depreciation-recapture-guide)

A practical guide to Section 453 installment sales and Form 6252 — how the gross profit ratio defers capital gains across years, when depreciation recapture forces year-one recognition, how the Section 453A interest charge applies above the $5 million threshold, and when electing out beats deferral.

Mike Thrift

tax-planning capital-gains real-estate

May 14, 2026 11 min read

## [Form 6252 Installment Sales Under Section 453: Spreading Capital Gains and Avoiding the 453A Interest Charge](https://beancount.io/blog/2026/05/14/form-6252-installment-sale-section-453-gross-profit-percentage-depreciation-recapture-453a-interest-related-party-resale-rule-guide)

A practical walk-through of reporting installment sales on Form 6252 under IRC Section 453 — computing the gross profit percentage, why depreciation recapture is taxed in year one, the 453A interest charge on notes above the $5M aggregate threshold, the two-year related-party resale rule, and when electing out beats deferring gain.

Mike Thrift

tax tax-planning tax-compliance

[Start Free→](https://beancount.io/sign-up/?next=%2Fledger%2F) [Documentation](https://beancount.io/docs)

## Where to look next

- [Sitemap](https://beancount.io/sitemap.xml) - all pages with hreflang alternates
- [LLMs index](https://beancount.io/llms.txt) - curated links for AI agents (also /llms-full.txt for full docs)
- [Documentation](https://beancount.io/docs) - every doc is also available as text/markdown via .md suffix or Accept negotiation
- [REST API reference](https://beancount.io/docs/api-reference) - interactive endpoints, schemas, authentication, and code samples
- [OpenAPI spec](https://beancount.io/openapi.json) - OpenAPI 3.1 spec for this website's public content endpoints; the product contract for ledger operations is at https://beancount.io/api-gateway/v1/openapi.json
- [GraphQL](https://beancount.io/graphql) - public, read-only content API over the blog and research logs (no credentials, no ledger data): 12 query fields over 23 types
- [MCP server](https://beancount.io/mcp) - Model Context Protocol at https://beancount.io/api-gateway/mcp
