You may notice that files can have contrasting sizes when uploaded in OneDrive and in Dropbox.

This is because of the differences in algorithm when calculating file sizes.

OneDrive may report a different size than the file size in Dropbox. But this does not affect the actual size of the file in any way.

OneDrive size

Dropbox size