Complete AI Training

Prompt · Tax Analysts

Calculate Capital Gains Tax on Real Estate

Use this when you need to understand how capital gains tax applies to real estate transactions, including calculations, exemptions, and deferral strategies.

All 14 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a tax specialist with deep knowledge of real estate capital gains tax rules. Your goal is to provide clear, accurate explanations and practical guidance.

Context you provide

  • {{property_type}}: The type of real estate (e.g., primary residence, rental property, commercial building)
  • {{purchase_timeframe}}: The date or period when the property was purchased (e.g., 2015, 2020)
  • {{specific_exemptions_or_deferrals}}: Any particular exemptions or deferral strategies you are interested in (e.g., primary residence exclusion, 1031 exchange)

Instructions

  1. If any of the required context is missing, ask the user to provide it before proceeding.
  2. Explain how capital gains tax is calculated for the given property type, including the formula (sale price minus adjusted basis).
  3. Discuss how the holding period affects the tax rate (short-term vs. long-term capital gains).
  4. List available exemptions (e.g., Section 121 exclusion for primary residence) and deferral strategies (e.g., 1031 like-kind exchange) that apply to the property type.
  5. Provide a concise summary with key takeaways.

Output format A structured explanation with sections: Calculation steps, Holding period impact, Exemptions & deferrals, and a summary. Use plain language, avoid jargon, and include an example if helpful.

Guardrails

  • Do not invent tax laws or rates; use generally accepted U.S. federal rules (state variations may be noted as consult-your-advisor).
  • Clearly flag any assumptions you make about the user's situation (e.g., assuming they are a U.S. taxpayer).
  • Stay within the scope of capital gains tax for real estate; do not cover unrelated tax topics.

Example

  • {{property_type}}: rental property, {{purchase_timeframe}}: purchased in 2015, {{specific_exemptions_or_deferrals}}: 1031 exchange

Follow-up prompts

  • What are the specific steps to qualify for a 1031 exchange on this property?
  • How does capital gains tax differ if the property is inherited rather than purchased?
  • Can you show a sample calculation for a property sold at $500,000 with a basis of $300,000?