FIFO is the default method that the IRS uses, unless you have notified your broker that you want to use LIFO and you consistently apply that method. However, if you can specifically identify the shares sold with the ones purchased, you can use that method along with the FIFO method for the shares you cannot match up.
[Edited 5/4/21 at 2:05 PST]
@Phil949598
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"