Update your macbook to the latest OS First, App Store El captain should be there.
http
/diskmakerx.com/
Download that to your mac,
Hook up a 8 GB USB drive
Run DiskmakerX select the El Captain image, follow prompts.
Once that is done turn off the computer, swap out the harddrive for the SSD.
Then right after the Familiar Apple Bing hold down the Option Key
Select the USB drive (Should be Yellow)
It'll load up an install environment.
You'll see Install MacOS, DONT DO THIS YET
Go to Disk utility menu bar
Select the SSD and Select Delete partition.
Make sure you have Extended Journaled
Name the drive macOS
Complete that operation
Then go back to install prompt and install MacOS on the newly formated drive.
Enjoy the fast speed!