---
title: "Vector Maths"
content_type: tutorial
url: "https://learn.unity.com/tutorial/vector-maths?language=en"
language: en
difficulty: beginner
duration_minutes: 15
unity_version:
  - "2021.3"
supported_unity_versions:
  - name: "2021.3"
    url: "https://learn.unity.com/tutorial/vector-maths.md?language=en&version=2021.3"
available_languages:
  - name: "en"
    url: "https://learn.unity.com/tutorial/vector-maths.md?language=en"
  - name: "es"
    url: "https://learn.unity.com/tutorial/matematicas-para-vectores.md?language=es"
  - name: "ja"
    url: "https://learn.unity.com/tutorial/vector-math-bekutoruji-suan.md?language=ja"
  - name: "ko"
    url: "https://learn.unity.com/tutorial/begteo-suhag.md?language=ko"
  - name: "zh-cn"
    url: "https://learn.unity.com/tutorial/shi-liang-shu-xue.md?language=zh-cn"
last_updated: "2026-10-07T22:05:44.000Z"
---

# Vector Maths

Review core vector math concepts, including Dot and Cross products, for beginner scripting in Unity.

A primer on Vector maths - as well as information on the Dot and Cross products.

Previous: [Update and FixedUpdate](https://learn.unity.com/tutorial/update-and-fixedupdate?projectId=5c8920b4edbc2a113b6bc26a)

Next: [Enabling and Disabling Components](https://learn.unity.com/tutorial/enabling-and-disabling-components?projectId=5c8920b4edbc2a113b6bc26a)

## 1. Vector Maths

[Video](https://connect-mediagw.unity.com/h1/20220104/videos/661641eb-5ba6-45ee-b592-4da8188d850a_U_Beginner_9_VectorMaths.mp4) ([Transcript (en)](https://connect-mediagw.unity.com/h1/20220104/dc34195a-d2f7-4bf9-b8be-5749a9dcde18_B_09_Vector_Maths_v.2.0.vtt))

For more on these topics, please see the Unity Manual:

**Vector2**

[https://docs.unity3d.com/ScriptReference/Vector2.html](https://docs.unity3d.com/ScriptReference/Vector2.html)

**Vector3**

[https://docs.unity3d.com/ScriptReference/Vector3.html](https://docs.unity3d.com/ScriptReference/Vector3.html)

**Vector3.magnitude**

[https://docs.unity3d.com/ScriptReference/Vector3-magnitude.html](https://docs.unity3d.com/ScriptReference/Vector3-magnitude.html)

**Vector3.Dot**

[https://docs.unity3d.com/ScriptReference/Vector3.Dot.html](https://docs.unity3d.com/ScriptReference/Vector3.Dot.html)
