Tax Planning Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Tax Flow

A

“I Got A Tattooed Gecko For November”

Income
-Exclusions (MAFIAS PADDED MICS)
Gross Income
-Deductions for AGI (ME SBRHH EATS)
AGI
-Std Deduction
-Itemized Deduction (CG UTI)
-Qual’ed Biz Expenses
Taxable Income
*Tax rate
Gross Taxable
-Tax Credits
Final Tax Due
-Prepayments
Net Tax Payable/Refund

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Tax Exclusions

A

MAFIAS PADDED MICS

Muni bond interest
Accident & health plans: employer premiums
Fringe benefits
Inheritance & gifts
Accident & health plans: amts recieved
Scholarships

Personal residence (Section 121)
Adoption assistance program ($14,890; $223,410 to $263,410 AGI phaseout)
Death benefits
Dependent care assistance program
Education assistance up to $5250
Debt discharged

Meals & lodging for employees
Interest on education savings bonds (Series EE or I)
Compensatory damages compensation
Support payments received (child support if before 2019)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Deductions for AGI

A

“ME SBRHH EATS”

Moving expenses
Educator expenses ($250 or $500)

Student loan interest
Business expenses (reservist)
Retirement contributions for SE
Health care premiums for SE
HSA contributions

Early withdrawal penalties of savings accounts like CDs
Alimony payments before 2019
Tradition IRA contributions
SE tax (1/2 of)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Itemized Deductions

A

“CG UTI” / Below the line

Casualty and theft loss for nationally declared disasters
Gifts to charity

Unreimbursed medical greater that 7.5% of AGI
Taxes state and local (SALT) up to $10k
Interest paid (mortgages up to $750k of debt)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Standard Deductions

A

Regardless of filing status, opportunity to add for 65+ and or blind.

If MFJ and both over 65, $1400 * 2 = $2800 added to Std Deduction amount.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Tax Deduction

A

Reduces the overall taxable income

Adjust BEFORE application of the tax rate tables

Reduces tax by marginal percentage

Benefit: more valuable to HIGH-INCOME taxpayers than lower because the marginal tax rate is higher.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Tax Credit

A

Lowers tax due under specific circumstances

Adjust AFTER the tax due is calculated

Reduces tax due on a dollar-to-dollar basis

Benefits ALL TAXPAYERS in the same amount regardless of their marginal tax rate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Refundable Credits

A

Refundable Credits “AAEP”
American Oppty Tax Credit (AOTC)
Addtl Child Tax Credit
Earned Income Credit
Premium Tax Credit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Nonrefundable Credits

A

“CCRL”
Child & Dependent Care Credit
Child Tax Credit
Retirement Savings Contrib Credit
Lifetime Learning Credit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Tax Form 1040X

A

Amended Tax Return

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Tax Form 1040ES

A

Estimated Tax for Individuals

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Tax Form 1041

A

Estate & Trusts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Tax Schedule 1

A

Additional Income & Adjustments to Income

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Tax Schedule A

A

Itemized deductions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Tax Schedule B

A

Interest and dividend income

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Tax Schedule C

A

Profit/loss from business

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Tax Schedule D

A

Capital losses or gains

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Tax Schedule E

A

Rental and royalty income

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Tax Schedule F

A

F = Farming
Profit or loss from farming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Tax Schedule H

A

H = House

Household employment taxes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Tax Schedule SE

A

Self-employment tax

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Tax Form 706

A

“6 for 6’ under”

Estate & GSTT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Tax Form 709

A

“9 for I’m on cloud nine!”

Gifts and GSTT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Tax Form 1098

A

Mortgage interest statement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

Tax Form 1099-DIV

A

Dividends and distributions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

Tax Form 1099-INT

A

Interest income

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

Tax Form 1099-NEC

A

Non-employee compensation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

Tax Form 1099-MISC

A

Miscellaneous income

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

Tax Form 1099-R

A

Retirement Distributions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

Tax Form 5498

A

IRA contribution individuals

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

Tax Form 8606

A

Non-deductible IRAs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

Lost credits for Married filing Separately (MFS)

A

Child/dependent care, earned income, adoption, AOTC, LLC, student loan interest

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

Reduced credits for Married filing Separately (MFS)

A

Child tax credit and savers credit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

Married filing Jointly

A

For a widow/er, file MFJ in year of spouses death. File as Qualified Widow/er in year 1 and 2 immediately following as long as not remarried.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

Estimated Tax Payment Dates

A

4/15
6/15
9/15
1/15

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

Estimated tax (prepayment) payment formula

A

To avoid a penalty on underpayment, the estimated quarterly payments must be 25% of the lesser of the following:
90% of the tax liability shown on the return for the current year
100% of the tax liability shown on the return for the prior year if the taxpayer’s AGI for such prior year was $150,000 or less

If AGI is greater than $150,000 MFJ or $75,000 MFS, no penalty if the taxpayer estimated tax payments in the current year equal to:
110% of the prior year’s tax, or
90% of the current year’s tax

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

Tax Penalty - Negligence

A

“Ray Allen #20 was negligent in handling of exit from Celtics”

No intent to defraud.

20% penalty applied to amount of deficiency

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

Tax Penalty - Fraud

A

Intent to defraud

75% penalty applied to amount of deficiency

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

Tax Penalty - Frivolous Return

A

“Go pound sand” written on tax return

$5000 penalty

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

Tax Penalty - Failure to File

A

5% of the unpaid taxes for each month or part of a month that a tax return is late, up to 25% max

Minimum penalty of $435 if later than 60 days

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
41
Q

Tax Penalty - Failure to Pay

A

0.5% per month the tax is unpaid up to a max of 25%

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
42
Q

Tax Penalty - Understatement of Liability

A

If the tax withheld from W-2 and/or estimated payments is less than;
-90% of current year liability
-100% of the prior year
-110% if taxpayers AGI is greater than $150k MFJ

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
43
Q

Tax Penalty - Failure to Pay & Failure to File

A

If both applied in same month, the Failure to File penalty is reduced by the amount of the Failure to Pay Penalty for that month, for a combined penalty of 5% for each month or part of a month that the return was late.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
44
Q

Tax Entities

A

S Corp - Pass thru; treat dividend distro’s as tax benefit -> no income tax on them!
C Corp -
Partnership - Pass thru
Limited Liability Co - Pass thru
Sole-proprietor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
45
Q

Cash Method - accounting

A

Recognize expenses when they are actually paid and receive when they are actually or constructively received.
Constructive receipt occurs when the finds are available without restriction.
Tax return is always cash basis.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
46
Q

Accrual Method - accounting

A

Revenue recognized when the right to receive it exists (e.g. AR)

Expenses recognized when the liability can clearly be established, not when payment made (e.g. AP)

47
Q

Accounting Methods

A

Revenue: Cash = Received. |. Accrual = Earned
Expenses: Cash = Paid. |. Accrual = Incurred

48
Q

FIFO -v- LIFO

A

RISING PRICES. |. FIFO. |. LIFO
Profit. Higher. Lower
Tax Liability Higher. Lower
Inventory Value. Realistic. Understated

49
Q

Common Depreciable Assets

A

“ACHORN” & 27.5 -> two 7’s, two 5’s

Autos. 5 yrs
Computers. 5 yrs
Heavy Machines. 7 yrs
Office Furniture. 7 yrs
Residential Real Estate. 27.5 yrs
Non-res Real Estate. 35 yrs

50
Q

What property is not a considered a capital asset?

A

“ACID”

Accounts Receivable
Copyrights
Inventory
Depreciable Property used in trade or business (Sec 1231 assets)

51
Q

Net Investment Income Tax

A

3.8%

52
Q

What is the max capital loss per year amount?

A

$3000

Carry forward to the loss indefinitely

53
Q

Section 1231 Property

A

Property used in trade/business. Property help for production of income

GAINS taxed as capital gains.
LOSSES taxes as ordinary income.

54
Q

Section 1231 Categories

A

1245 Property - “Personalty” - furniture, computers, office equipment

1250 Property - “Realty” - commercial bldgs, barns, rental properties

55
Q

Section 1031 - Like-Kind Exchanges

A

Allows for the deferral of gain or loss recognition on realty for realty exchanges.

Must exchange realty for realty

Boot is non-qualifying property (e.g. cash, debt assumption, inventory, and personalty)

56
Q

Section 1031 Timing

A

45 days from the date of transfer of the relinquished property to id potential replacement properties.

180 days to complete the exchange from beginning to end

57
Q

Related Party Transactions - who is a related party?

A

Spouse
Child
Grandchild
Parent
Sibling
Related entities: taxpayer owns 50% or more of a company

58
Q

Related Party Transactions - situations

A

(1) Sold at a loss to a related party
PAUSE -> wait to see what happens when related party sells again
(2a) Sold above RP2’s basis and greater than RP1’s disallowed loss -> USE ALL OF LOSS
(2b) Sold above RP2’s basis but below RP1’s disallowed loss -> USE PARTIAL AMOUNT TO = 0
(2c) Sold below RP2’s basis -> USE NO DISALLOWED LOSS but report RP2’s loss

59
Q

Rental Real Estate - Active Participant

A

Taxpayer may deduct up to $25,000 annually in losses if an “active participant”

Meaning…
1) Taxpayer own at least 10% of the property, and
2) Substantial involvement in managing the property

60
Q

Rental Real Estate - Active Participant Phaseout

A

MAGI under $100k = 100% of $25k allowed
MAGI btwn $100k to $150k = 2k to 1k reduction
MAGI greater than $150k = zero allowed

61
Q

Personal Use Property

A

Allowed to rent for 14 days or less -> DO NOT have to report income

62
Q

Rental Use Property

A

Personal use cannot exceed the GREATER of;
-14 days, or
-10% of the number of days the property was rented

63
Q

Mixed-Use Property

A

Personal usage is GREATER than;
-14 days or
-10% of the number of days the property was rented

Expenses are to be allocated btwn personal use and rental use
Deductions are limited to gross rental income (may have net income of $0 but not negative)

64
Q

Section 121 - Personal Residence Sale Exclusion

A

Allows for the exclusion of gains on the sale of a person residence for up to $250k (single) or $500k (MFJ)

65
Q

Section 121 Tests

A

Ownership Test: Must have owned the property for 2 out of the last 5 years
Usage Test: Must have used the property as the personal residence for 2 out of the last 5 years

If married; ONE spouse to meet ownership test, both to meet the usage test

66
Q

Section 121 - Reduced Exclusions

A

Job relocation
Employment change leaves one unable to pay living expenses
Qualifying for unemployment benefits
Health issues
Divorce
Birth of twins or more
Damage to home from disaster
Condemnation or seizure
Other unforeseen circumstance

67
Q

Use-Related | Charitable Contribution

A

Charity makes use of the donated property in a manner consistent with its exempt purpose

Donor picks;
FMV @ 30% of AGI or
Basis @ 50% of AGI

68
Q

Use-Unreleated | Charitable Contribution

A

Unrelated to the exempt purpose/function of the qualified organization. E.g. Painted donated to a university but sold for proceeds.

Results in a deduction only for the LESSER of;
-Cost basis, or
-FMV

69
Q

Imputed Interest Income - what is it?

A

IRS imputes an interest charge if the taxpayer charges less than an adequate rate of interest on a loan.

70
Q

Imputed Interest Income - exam tip

A

$1,000 - Net investment income of this amount or less is not imputed on loans btwn $10k - $100k
$10,000 - Loans below this amount, no imputed interest.
$10,000 to $100,000 - Loans btwn these two amounts, lesser of borrower’s NII or AFR amounts
$100,000 - Loans greater than this amount, must use provided AFR amount

71
Q

Alternative Minimum Tax - formula

A

“RAAG TA”

REGULAR TAXABLE INCOME
+tax pref’s
+std deduction
+/- AMT adjustments & tax pref’s
AMTI
-exemption amount
AMT BASE
*AMT tax rates
GROSS AMT TAX
-AMT foreign tax credit
TENTATIVE MINIMUM TAX
-regular tax liability
AMT

72
Q

Planning for AMT

A

Accelerate income into the AMT year
Defer tax deductions until a regular tax year

Optimal strategy would be to do as above until the AMT liability EQUALS the regular tax liability

73
Q

Foreign Bank & Financial Accounts (FBAR) - what is it

A

US taxpayer required to file an FBAR if:
(1) had a financial interest in or signature authority over at least one financial account outside USA
(2) aggregate value of all foreign financial accounts (FFA) exceeded $10k at any time during the year
(3) must file FinCEN (Financial Crimes Enforcement Network) Form 114 by tax day

74
Q

Foreign Account Tax Compliance Act (FATCA)

A

Requires certain taxpayers holding financial assets outside USA that meet certain threshold reporting obligations to report those assets to the IRS on Form 8938.
-If you are required to file form 8938, you must report your financial account maintained by a foreign financial institution (e.g. savings, deposits, checking, brokerage accounts)

75
Q

Form 8938 Threshold Requirements

A

MFJ - US Resident: Total value of foreign assets is more than $100k on last day of year or $150k at any point
Single/MFS - US Resident: Total value of foreign assets is more than $50k on last day or $75k at any point

MFJ - Non-US Resident: Total value of foreign assets is more than $400k on last day or $600k at any point
Sing/MFS-Non-US Resident: Total value of foreign assets is more than $200k on last day or $300k at any point

76
Q

Kiddie Tax definition

A

Applies to children under age 19 or full-time students under 24. Net UNEARNED income more than $2,300 threshold amount is subject to tax at the highest marginal tax rate of the child’s parents. Net unearned income below the threshold is not subject to Kiddie Tax.

77
Q

Kiddie Tax mechanics

A

Example: $15k net of unearned income from 17 yr old.
-First $1150 is tax-free (dependent’s std deduction)
-Next $1150 taxed at child’s rate, typically 10%, or $115,
-Remaining $12,700 taxed at parent’s tax rate (assume 22%), thus $2794 (this is Kiddie Tax)
-Final total tax owed = $2,909 (115 + 2,794)

78
Q

Kiddie Tax, Earned + Unearned Example

A

Earned income = 7k; Unearned income = $2,500; 15 yr old; 24% parent’s tax bracket

(1) Child’s taxable income = Gross Income - (Std Deduct (greater of $1150 or Earned income + $350))
$9,500 - $7,350 (earned income + $350)
$9,500 - $7350 = $2,150

(2) Amt taxed @ parent’s highest marginal rate (24%): Unearned Income - first $1150 - $1150 Std Deduct
$2,500 (unearned) - $1150 - $1150 = $200
Parents tax due = $200 * 0.24 = $48

(3) Amount taxed at child’s rate: Child’s taxable income - amt taxed at parent’s
$2,150 - $200 = $1950
Child’s tax due = $1950 * 0.10 = $195

(4) Total tax due = $48 + $195 = $243

79
Q

Net Investment Income (NII) defined

A

Amount by which the sum of gross investment income and the capital gain net income exceeds the allowable deductions

80
Q

NII formula

A

Note: NII thresholds on provided Tax Tables

Individuals, estates, and trusts subject to 3.8% tax on net investment income;
Tax applies to the lesser of….
-Net Investment Income, or
-excess of MAGI over $250k for MFJ/$200k for Single

81
Q

AMT: Boot, Gain & Basis details

A

1) If no boot received, Recognized Gain is $0
2) When boot is rcvd, answer to Recognized Gain is total of boot rcvd
3) Any boot paid is added to Basis
4) Basis carries over from prior property

82
Q

Historical Rehab Programs

A

Historic rehab programs that are held as passive activity may generate a deduction-equivalent tax credit up to $25k. The credit phases out btwn $200k and $250k of AGI.

To calculate the credit: If marginal tax rate is 25%, multiple $25k by 25% to get a credit of $6,250

83
Q

Low-Income Housing Credit

A

Low-income housing programs that are help as passive activity may generate a deduction-equivalent tax credit up to $25k. There is NO PHASE OUT. Thus produces a higher credit.

The low-income housing credit is allowed annually over a 10-year “credit period.” The depreciation is straight-line over 27.5 years.

84
Q

Estimated Tax Payment Schedule

A

4/15
6/15
9/15
1/15

85
Q

Estimated Tax Payment - how much?

A

Quarterly payment to be 25% of the lesser;

90% of current year, or
100% of previous year if AGI was $150k or less
If AGI greater than $150k (or $75k MFS);
110% of prior year, or
90% of current year

86
Q

Single - tax filing

A

On 12/31 either unmarried or legally separated

87
Q

MFJ - tax filing

A

As of 12/31, married
Income + deductions for both
Not allowed if one spouse a non-resident alien
Jointly and separately liable
If spouse dies in given year, living spouse to file as MFJ in that year

88
Q

MFS - tax filing

A

2 separate returns filed
Each spouse, separate items + income, deduction, and credits
If one elects to itemize, both must

*Remember: IRS does not like MFS, thus many credits and threshold limits are unfavorable;
Lose: child & dependent care, earned income, adoption, AOTC, LLC, student loan interest
Reduced: child tax credit, savers credit

89
Q

Head of Household - tax filing

A

Must be single or unmarried
Pay more than 1/2 of housing costs
Qualifying child: lived w/ you for more than 1/2 year
Qualifying relative: providing at least 50% annual living expenses

90
Q

Qualifying Window/er - tax filing

A

No married
MFJ = year of spouse death
QW = year 1 and year 2 after death
50% of household expenses
Claim qualifying child as a dependent

91
Q

What is a benefit to using the MACRS - Modified Accelerated Cost Recovery System

A

-Allows for the bigger deductions up front
-Increases cash flow

92
Q

Capital gains are _____ on top of ordinary income

A

Stacked

93
Q

Tax rate for collectibles

A

“JD Martinez #28 rookie card”

28%

94
Q

Related Party Transactions - details

A

GAIN -> treat normally

LOSS -> pause and wait for sale to unrelated party

95
Q

At-risk rules applied before passive losses

A

“A before P”

At-risk rules state that a taxpayer can only deduct losses to the extent that there is enough basis (or the amount at risk)

Example: Taxpayer as $20k at risk prior to current year’s pass-through loss of $17k. No issues as far as at-risk. $17k loss will be allowed and the taxpayer’s amount at-risk is reduced to $3k.

Only take losses to amount at-risk.

96
Q

RE active participant loss deduction example

A

Tim (Single) owns a rental condo w/ reported loss of $10k for the current year. AGI is $126,420. How much rental loss can Tim recognize?

Step 1)
$126,420 (MAGI)
- $100k (low end of phase out)
=$26,420 (excess MAGI)
/2
=$13,210

Step 2)
$25k (Statutory loss limit)
-$13,210 (disallowed portion)
=$11,790 max allowable loss

Since Tim’s loss was $10k, he can deduce the entire amount

97
Q

Section 121: Exclusion reduction formula

A

Step 1) Exclusion Reduction = Tax Exclusion * (# of days in home/730 days)
Step 2) Calc gain on home sale
Step 3) Exclusion Reduction - Gain = Taxable Amount

98
Q

What is ordinary income property?

A

Property that, if sold, would result in ordinary income or short-term capital gain. Ordinary income property includes:
-Capital assets held for 12 months or less
-Property created by the donor (e.g. works of art, literary compositions, letters, etc.)
-Inventory

99
Q

Three situations where the IRS looks in interest should be imputed

A

Gift Loan: provided out of love, affection, or generosity
Corp Shareholder Loan: From a corp to its shareholder
Compensation-Related Loans: From employer to employer

100
Q

Benefit of deductions to high-income earners

A

Deductions are generally more beneficial to high-bracket taxpayers because there are several deductions (e.g. mortgage interest, capital gains on retirement investments) which affect the wealthier classes more than poor/middle-class

101
Q

Personal Service Corporation (PSC) - a closely help C Corp

A

“HEAL” - Health, Engineering, Architecture, Law

Must exclusively provide services in the health, engineering, accounting, architecture, or law. They may also provides services in the fields of performing arts or consulting.

102
Q

Req’s when gift of property as an income tax deduction is greater than $5k

A

Donor must obtain an appraisal for each item and include a copy of the appraisal with the tax return. The taxpayer must file Form 8283, “Section B Non-cash Charitable Contributions” along with her return

103
Q

What is another term for proportional tax?

A

Flat tax

Proportional tax requires that everyone pay the same rate, no matter the individual’s income (e.g. sales tax).

104
Q

With a JTWROS between spouses, how is basis treated at death?

A

Step up in basis for 1/2 property

105
Q

When a taxpayer deducts non-business bad debts as short-term capital losses, how much can be deducted?

A

The taxpayer’s basis in the debt.

106
Q

Penalty for Negligence is 20% of what?

A

The deficiency attributed to negligence.

107
Q

Like-kind exchange

A

Takes place when a taxpayer uses gains on the sale of property to buy similar property. Personal use property includes, stocks, bonds, investors, and partnership interests.

108
Q

Penalty for aiding and abetting a tax liability understatement?

A

$1,000

109
Q

Penalty for a filed tax return but taxes have not been paid?

A

0.5% per month - Failure to pay - up to max of 25%

110
Q

Which entity allows for pass-through taxation, limited liability, and the ability to easily sell interests in a practice in the future, assuming no general partner?

A

S corp

111
Q

Tax Form 1065

A

Used to report income, gain, losses, deductions, and credits from the operation of a partnership.

112
Q

Self-employment tax rate for Medicare

A

2.9%

113
Q

In a Section 1031 Link-Kind Exchange, the recognized gain is the lesser of….

A

(A) the realized gain, or
(B) the net boot received