Per IRS Publication 946 How to Depreciate Property, starting on page 15:
You can elect to recover all or part of the cost of certain qualifying property, up to a limit, by deducting it in the year you place the property in service. This is the section 179 deduction. You can elect the section 179 deduction instead of recovering the cost by taking depreciation deductions.
To qualify for the section 179 deduction, your property must be one of the following types of depreciable property.
Please see chapter 2 of IRS Publication 946 for a detailed description of these properties.
(Page 16): Property Acquired for Business Use
To qualify for the section 179 deduction, your property must have been acquired for use in your trade or business. Property you acquire only for the production of income, such as investment property, rental property (if renting property is not your trade or business), and property that produces royalties, does not qualify.
Partial business use. When you use property for both business and nonbusiness purposes, you can elect the section 179 deduction only if you use the property more than 50% for business in the year you place it in service. If you use the property more than 50% for business, multiply the cost of the property by the percentage of business use. Use the resulting business cost to figure your section 179 deduction.
(Page 17): How Much Can You Deduct?
Your section 179 deduction is generally the cost of the qualifying property. However, the total amount you can elect to deduct under section 179 is subject to a dollar limit and a business income limit. These limits apply to each taxpayer, not to each business. However, see Married Individuals under Dollar Limits, later. For a passenger automobile, the total section 179 deduction and depreciation deduction are limited. See Do the Passenger Automobile Limits Apply in chapter 5.
If you deduct only part of the cost of qualifying property as a section 179 deduction, you can generally depreciate the cost you do not deduct.
The total amount you can elect to deduct under section 179 for most property placed in service in tax years beginning in 2019 generally cannot be more than $1,020,000. If you acquire and place in service more than one item of qualifying property during the year, you can allocate the section 179 deduction among the items in any way, as long as the total deduction is not more than $1,020,000. You do not have to claim the full $1,020,000.
TIP: The amount you can elect to deduct is not affected if you place qualifying property in service in a short tax year or if you place qualifying property in service for only a part of a 12-month tax year.
CAUTION! After you apply the dollar limit to determine a tentative deduction, you must apply the business income limit (described later) to determine your actual section 179 deduction.
Please refer to the publication for additional details about the section 179 deduction.