when to use “be aligned with”, “in line with”

They are the same.

For example,

  • The average for the number of miles driven - this is in line with the car’s crash test ratings.
  • The revenue model is in line with the pricing model of the service.
  • If your professional goals are aligned with making money, then your chances of making a lot of money go way up.
  • Very quickly theory became aligned with reality.