Capital gains

Hi,

why is my fed tax return showing a capital gains of $23,000 but my one and only 1099-B shows only $14,700?

Thanks,

Bill