If in March the company produced 3000 masks, in April, after doubling the total mask production, the company produced 3000*2= <<3000*2=6000>>6000 masks.
In May, the company doubled its total mask production to 2*6000 = 12000
After doubling the production for June, the company was able to produce 2*12000 = <<2*12000=24000>>24000
By July, the company was producing a total of 2*24000 = <<2*24000=48000>>48000 masks.
#### 48000